diff options
Diffstat (limited to 'fpu/softfloat-native.c')
-rw-r--r-- | fpu/softfloat-native.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fpu/softfloat-native.c b/fpu/softfloat-native.c index 9994f6d27c..e58551f331 100644 --- a/fpu/softfloat-native.c +++ b/fpu/softfloat-native.c @@ -59,7 +59,7 @@ double qemu_rint(double x) double y = 4503599627370496.0; if (fabs(x) >= y) return x; - if (x < 0) + if (x < 0) y = -y; y = (x + y) - y; if (y == 0.0) @@ -131,7 +131,7 @@ static inline int long_to_int32(long a) #else static inline int long_to_int32(long a) { - if (a != (int32_t)a) + if (a != (int32_t)a) a = 0x80000000; return a; } |