diff options
Diffstat (limited to 'sysdeps/libm-ieee754/s_fpclassifyf.c')
-rw-r--r-- | sysdeps/libm-ieee754/s_fpclassifyf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/libm-ieee754/s_fpclassifyf.c b/sysdeps/libm-ieee754/s_fpclassifyf.c index 15bcfef4a6..a6b35cfe1b 100644 --- a/sysdeps/libm-ieee754/s_fpclassifyf.c +++ b/sysdeps/libm-ieee754/s_fpclassifyf.c @@ -35,8 +35,8 @@ __fpclassifyf (float x) retval = FP_ZERO; else if (wx < 0x1000000) retval = FP_SUBNORMAL; - else if (wx == 0x7f000000) - retval = wx > 0x7f000000 ? FP_NAN : FP_INFINITE; + else if (wx >= 0x7f800000) + retval = wx > 0x7f800000 ? FP_NAN : FP_INFINITE; return retval; } |