aboutsummaryrefslogtreecommitdiff
path: root/newlib/libm
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libm')
-rw-r--r--newlib/libm/common/sf_trunc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libm/common/sf_trunc.c b/newlib/libm/common/sf_trunc.c
index 74ea933..8eb0554 100644
--- a/newlib/libm/common/sf_trunc.c
+++ b/newlib/libm/common/sf_trunc.c
@@ -42,7 +42,7 @@
}
else
{
- if (exponent_less_127 == 255)
+ if (exponent_less_127 == 128)
/* x is NaN or infinite. */
return x + x;