Revision 211315fb fpu/softfloat.c
b/fpu/softfloat.c | ||
---|---|---|
2318 | 2318 |
| according to the IEC/IEEE Standard for Binary Floating-Point Arithmetic. |
2319 | 2319 |
*----------------------------------------------------------------------------*/ |
2320 | 2320 |
|
2321 |
int float32_eq( float32 a, float32 b STATUS_PARAM ) |
|
2321 |
int float32_eq_quiet( float32 a, float32 b STATUS_PARAM )
|
|
2322 | 2322 |
{ |
2323 | 2323 |
a = float32_squash_input_denormal(a STATUS_VAR); |
2324 | 2324 |
b = float32_squash_input_denormal(b STATUS_VAR); |
... | ... | |
3582 | 3582 |
| according to the IEC/IEEE Standard for Binary Floating-Point Arithmetic. |
3583 | 3583 |
*----------------------------------------------------------------------------*/ |
3584 | 3584 |
|
3585 |
int float64_eq( float64 a, float64 b STATUS_PARAM ) |
|
3585 |
int float64_eq_quiet( float64 a, float64 b STATUS_PARAM )
|
|
3586 | 3586 |
{ |
3587 | 3587 |
uint64_t av, bv; |
3588 | 3588 |
a = float64_squash_input_denormal(a STATUS_VAR); |
... | ... | |
4592 | 4592 |
| Arithmetic. |
4593 | 4593 |
*----------------------------------------------------------------------------*/ |
4594 | 4594 |
|
4595 |
int floatx80_eq( floatx80 a, floatx80 b STATUS_PARAM ) |
|
4595 |
int floatx80_eq_quiet( floatx80 a, floatx80 b STATUS_PARAM )
|
|
4596 | 4596 |
{ |
4597 | 4597 |
|
4598 | 4598 |
if ( ( ( extractFloatx80Exp( a ) == 0x7FFF ) |
... | ... | |
5754 | 5754 |
| according to the IEC/IEEE Standard for Binary Floating-Point Arithmetic. |
5755 | 5755 |
*----------------------------------------------------------------------------*/ |
5756 | 5756 |
|
5757 |
int float128_eq( float128 a, float128 b STATUS_PARAM ) |
|
5757 |
int float128_eq_quiet( float128 a, float128 b STATUS_PARAM )
|
|
5758 | 5758 |
{ |
5759 | 5759 |
|
5760 | 5760 |
if ( ( ( extractFloat128Exp( a ) == 0x7FFF ) |
Also available in: Unified diff