Revision 87b8cc3c

b/fpu/softfloat.h
255 255
/*----------------------------------------------------------------------------
256 256
| Software IEC/IEEE integer-to-floating-point conversion routines.
257 257
*----------------------------------------------------------------------------*/
258
float32 int32_to_float32( int STATUS_PARAM );
259
float64 int32_to_float64( int STATUS_PARAM );
258
float32 int32_to_float32( int32 STATUS_PARAM );
259
float64 int32_to_float64( int32 STATUS_PARAM );
260 260
float32 uint32_to_float32( unsigned int STATUS_PARAM );
261 261
float64 uint32_to_float64( unsigned int STATUS_PARAM );
262 262
#ifdef FLOATX80
263
floatx80 int32_to_floatx80( int STATUS_PARAM );
263
floatx80 int32_to_floatx80( int32 STATUS_PARAM );
264 264
#endif
265 265
#ifdef FLOAT128
266
float128 int32_to_float128( int STATUS_PARAM );
266
float128 int32_to_float128( int32 STATUS_PARAM );
267 267
#endif
268
float32 int64_to_float32( int64_t STATUS_PARAM );
269
float32 uint64_to_float32( uint64_t STATUS_PARAM );
270
float64 int64_to_float64( int64_t STATUS_PARAM );
271
float64 uint64_to_float64( uint64_t STATUS_PARAM );
268
float32 int64_to_float32( int64 STATUS_PARAM );
269
float32 uint64_to_float32( uint64 STATUS_PARAM );
270
float64 int64_to_float64( int64 STATUS_PARAM );
271
float64 uint64_to_float64( uint64 STATUS_PARAM );
272 272
#ifdef FLOATX80
273
floatx80 int64_to_floatx80( int64_t STATUS_PARAM );
273
floatx80 int64_to_floatx80( int64 STATUS_PARAM );
274 274
#endif
275 275
#ifdef FLOAT128
276
float128 int64_to_float128( int64_t STATUS_PARAM );
276
float128 int64_to_float128( int64 STATUS_PARAM );
277 277
#endif
278 278

  
279 279
/*----------------------------------------------------------------------------
......
303 303
/*----------------------------------------------------------------------------
304 304
| Software IEC/IEEE single-precision conversion routines.
305 305
*----------------------------------------------------------------------------*/
306
int float32_to_int16_round_to_zero( float32 STATUS_PARAM );
306
int16 float32_to_int16_round_to_zero( float32 STATUS_PARAM );
307 307
unsigned int float32_to_uint16_round_to_zero( float32 STATUS_PARAM );
308
int float32_to_int32( float32 STATUS_PARAM );
309
int float32_to_int32_round_to_zero( float32 STATUS_PARAM );
310
unsigned int float32_to_uint32( float32 STATUS_PARAM );
311
unsigned int float32_to_uint32_round_to_zero( float32 STATUS_PARAM );
312
int64_t float32_to_int64( float32 STATUS_PARAM );
313
int64_t float32_to_int64_round_to_zero( float32 STATUS_PARAM );
308
int32 float32_to_int32( float32 STATUS_PARAM );
309
int32 float32_to_int32_round_to_zero( float32 STATUS_PARAM );
310
uint32 float32_to_uint32( float32 STATUS_PARAM );
311
uint32 float32_to_uint32_round_to_zero( float32 STATUS_PARAM );
312
int64 float32_to_int64( float32 STATUS_PARAM );
313
int64 float32_to_int64_round_to_zero( float32 STATUS_PARAM );
314 314
float64 float32_to_float64( float32 STATUS_PARAM );
315 315
#ifdef FLOATX80
316 316
floatx80 float32_to_floatx80( float32 STATUS_PARAM );
......
413 413
/*----------------------------------------------------------------------------
414 414
| Software IEC/IEEE double-precision conversion routines.
415 415
*----------------------------------------------------------------------------*/
416
int float64_to_int16_round_to_zero( float64 STATUS_PARAM );
416
int16 float64_to_int16_round_to_zero( float64 STATUS_PARAM );
417 417
unsigned int float64_to_uint16_round_to_zero( float64 STATUS_PARAM );
418
int float64_to_int32( float64 STATUS_PARAM );
419
int float64_to_int32_round_to_zero( float64 STATUS_PARAM );
420
unsigned int float64_to_uint32( float64 STATUS_PARAM );
421
unsigned int float64_to_uint32_round_to_zero( float64 STATUS_PARAM );
422
int64_t float64_to_int64( float64 STATUS_PARAM );
423
int64_t float64_to_int64_round_to_zero( float64 STATUS_PARAM );
424
uint64_t float64_to_uint64 (float64 a STATUS_PARAM);
425
uint64_t float64_to_uint64_round_to_zero (float64 a STATUS_PARAM);
418
int32 float64_to_int32( float64 STATUS_PARAM );
419
int32 float64_to_int32_round_to_zero( float64 STATUS_PARAM );
420
uint32 float64_to_uint32( float64 STATUS_PARAM );
421
uint32 float64_to_uint32_round_to_zero( float64 STATUS_PARAM );
422
int64 float64_to_int64( float64 STATUS_PARAM );
423
int64 float64_to_int64_round_to_zero( float64 STATUS_PARAM );
424
uint64 float64_to_uint64 (float64 a STATUS_PARAM);
425
uint64 float64_to_uint64_round_to_zero (float64 a STATUS_PARAM);
426 426
float32 float64_to_float32( float64 STATUS_PARAM );
427 427
#ifdef FLOATX80
428 428
floatx80 float64_to_floatx80( float64 STATUS_PARAM );
......
522 522
/*----------------------------------------------------------------------------
523 523
| Software IEC/IEEE extended double-precision conversion routines.
524 524
*----------------------------------------------------------------------------*/
525
int floatx80_to_int32( floatx80 STATUS_PARAM );
526
int floatx80_to_int32_round_to_zero( floatx80 STATUS_PARAM );
527
int64_t floatx80_to_int64( floatx80 STATUS_PARAM );
528
int64_t floatx80_to_int64_round_to_zero( floatx80 STATUS_PARAM );
525
int32 floatx80_to_int32( floatx80 STATUS_PARAM );
526
int32 floatx80_to_int32_round_to_zero( floatx80 STATUS_PARAM );
527
int64 floatx80_to_int64( floatx80 STATUS_PARAM );
528
int64 floatx80_to_int64_round_to_zero( floatx80 STATUS_PARAM );
529 529
float32 floatx80_to_float32( floatx80 STATUS_PARAM );
530 530
float64 floatx80_to_float64( floatx80 STATUS_PARAM );
531 531
#ifdef FLOAT128
......
605 605
/*----------------------------------------------------------------------------
606 606
| Software IEC/IEEE quadruple-precision conversion routines.
607 607
*----------------------------------------------------------------------------*/
608
int float128_to_int32( float128 STATUS_PARAM );
609
int float128_to_int32_round_to_zero( float128 STATUS_PARAM );
610
int64_t float128_to_int64( float128 STATUS_PARAM );
611
int64_t float128_to_int64_round_to_zero( float128 STATUS_PARAM );
608
int32 float128_to_int32( float128 STATUS_PARAM );
609
int32 float128_to_int32_round_to_zero( float128 STATUS_PARAM );
610
int64 float128_to_int64( float128 STATUS_PARAM );
611
int64 float128_to_int64_round_to_zero( float128 STATUS_PARAM );
612 612
float32 float128_to_float32( float128 STATUS_PARAM );
613 613
float64 float128_to_float64( float128 STATUS_PARAM );
614 614
#ifdef FLOATX80

Also available in: Unified diff