Revision 5fafdf24 fpu/softfloat-native.c
b/fpu/softfloat-native.c | ||
---|---|---|
59 | 59 |
double y = 4503599627370496.0; |
60 | 60 |
if (fabs(x) >= y) |
61 | 61 |
return x; |
62 |
if (x < 0)
|
|
62 |
if (x < 0) |
|
63 | 63 |
y = -y; |
64 | 64 |
y = (x + y) - y; |
65 | 65 |
if (y == 0.0) |
... | ... | |
131 | 131 |
#else |
132 | 132 |
static inline int long_to_int32(long a) |
133 | 133 |
{ |
134 |
if (a != (int32_t)a)
|
|
134 |
if (a != (int32_t)a) |
|
135 | 135 |
a = 0x80000000; |
136 | 136 |
return a; |
137 | 137 |
} |
Also available in: Unified diff