Revision 18569871 fpu/softfloat-native.c
b/fpu/softfloat-native.c | ||
---|---|---|
254 | 254 |
return ( ( ( a>>22 ) & 0x1FF ) == 0x1FE ) && ( a & 0x003FFFFF ); |
255 | 255 |
} |
256 | 256 |
|
257 |
int float32_is_nan( float32 a1 ) |
|
257 |
int float32_is_quiet_nan( float32 a1 )
|
|
258 | 258 |
{ |
259 | 259 |
float32u u; |
260 | 260 |
uint64_t a; |
... | ... | |
411 | 411 |
|
412 | 412 |
} |
413 | 413 |
|
414 |
int float64_is_nan( float64 a1 ) |
|
414 |
int float64_is_quiet_nan( float64 a1 )
|
|
415 | 415 |
{ |
416 | 416 |
float64u u; |
417 | 417 |
uint64_t a; |
... | ... | |
504 | 504 |
&& ( u.i.low == aLow ); |
505 | 505 |
} |
506 | 506 |
|
507 |
int floatx80_is_nan( floatx80 a1 ) |
|
507 |
int floatx80_is_quiet_nan( floatx80 a1 )
|
|
508 | 508 |
{ |
509 | 509 |
floatx80u u; |
510 | 510 |
u.f = a1; |
Also available in: Unified diff