Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libm/mathfp/sf_numtest.c')
-rw-r--r--newlib/libm/mathfp/sf_numtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libm/mathfp/sf_numtest.c b/newlib/libm/mathfp/sf_numtest.c
index 675086c41..00bab3a9d 100644
--- a/newlib/libm/mathfp/sf_numtest.c
+++ b/newlib/libm/mathfp/sf_numtest.c
@@ -40,7 +40,7 @@ _DEFUN (numtestf, (float),
}
/* Check for not a number or infinity. */
- if (exp == 0x7f8)
+ if (exp == 0xff)
{
if(wx & 0x7fffff)
return (NAN);