aboutsummaryrefslogtreecommitdiff
path: root/fpu/softfloat.h
diff options
context:
space:
mode:
Diffstat (limited to 'fpu/softfloat.h')
-rw-r--r--fpu/softfloat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpu/softfloat.h b/fpu/softfloat.h
index b7983daf44..9061f03be1 100644
--- a/fpu/softfloat.h
+++ b/fpu/softfloat.h
@@ -283,7 +283,7 @@ INLINE float32 float32_chs(float32 a)
INLINE int float32_is_infinity(float32 a)
{
- return (float32_val(a) & 0x7fffffff) == 0x7ff80000;
+ return (float32_val(a) & 0x7fffffff) == 0x7f800000;
}
INLINE int float32_is_neg(float32 a)