diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-12-03 23:35:00 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-12-03 23:35:00 +0000 |
commit | be2925fc8afd9170d76237ac0fcf2df5db89532b (patch) | |
tree | e1cbf921eb10aceb0491bec1a0e96b62047dd0d6 /sysdeps | |
parent | 79569444efc685121f65d91f5b4eee834830d416 (diff) | |
download | glibc-be2925fc8afd9170d76237ac0fcf2df5db89532b.tar.gz glibc-be2925fc8afd9170d76237ac0fcf2df5db89532b.tar.xz glibc-be2925fc8afd9170d76237ac0fcf2df5db89532b.zip |
Update.
* sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct test for subnormal. Reported by Fred J. Tydeman <tydeman@tybor.com>.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/ieee754/flt-32/s_fpclassifyf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/ieee754/flt-32/s_fpclassifyf.c b/sysdeps/ieee754/flt-32/s_fpclassifyf.c index a6b35cfe1b..c0d3a0b620 100644 --- a/sysdeps/ieee754/flt-32/s_fpclassifyf.c +++ b/sysdeps/ieee754/flt-32/s_fpclassifyf.c @@ -1,5 +1,5 @@ /* Return classification value corresponding to argument. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. @@ -33,7 +33,7 @@ __fpclassifyf (float x) wx &= 0x7fffffff; if (wx == 0) retval = FP_ZERO; - else if (wx < 0x1000000) + else if (wx < 0x800000) retval = FP_SUBNORMAL; else if (wx >= 0x7f800000) retval = wx > 0x7f800000 ? FP_NAN : FP_INFINITE; |