aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/libm-ieee754/k_standard.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-06-21 21:43:00 +0000
committerUlrich Drepper <drepper@redhat.com>1997-06-21 21:43:00 +0000
commit36775c3ba3cc21296f7248e761b8678ae0bf2fed (patch)
tree7224e39ab74e652d5f561fb12176450da61d0e07 /sysdeps/libm-ieee754/k_standard.c
parent5107cf1d7d27f17c6de68ec15a8e8d9dd5b471c1 (diff)
downloadglibc-36775c3ba3cc21296f7248e761b8678ae0bf2fed.tar
glibc-36775c3ba3cc21296f7248e761b8678ae0bf2fed.tar.gz
glibc-36775c3ba3cc21296f7248e761b8678ae0bf2fed.tar.bz2
glibc-36775c3ba3cc21296f7248e761b8678ae0bf2fed.zip
1997-06-21 17:35 Ulrich Drepper <drepper@cygnus.com> * argp/argp.h: Remove extra #endif. Pretty print. * md5-crypt/md5.h: Likewise. * ctype/ctype.h: Don't use <gnu/types.h> but <bits/types.h>. * wctype/wctype.h: Likewise. * sysdeps/unix/sysv/linux/Makefile: Build stdio_lim.h in correct directory. * sysdeps/libm-i387/s_ilogb.S: Add fwait to ensure we get the result. * sysdeps/libm-i387/s_ilogbf.S: Likewise. * sysdeps/libm-i387/s_ilogbl.S: Likewise. * sysdeps/libm-i387/s_lrint.S: Likewise. * sysdeps/libm-i387/s_llrint.S: Likewise.
Diffstat (limited to 'sysdeps/libm-ieee754/k_standard.c')
-rw-r--r--sysdeps/libm-ieee754/k_standard.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/sysdeps/libm-ieee754/k_standard.c b/sysdeps/libm-ieee754/k_standard.c
index d1f82747f6..391ab057ca 100644
--- a/sysdeps/libm-ieee754/k_standard.c
+++ b/sysdeps/libm-ieee754/k_standard.c
@@ -826,10 +826,7 @@ static double zero = 0.0; /* used as const */
exc.type = OVERFLOW;
exc.name = type < 100 ? "gamma" : (type < 200
? "gammaf" : "gammal");
- if (_LIB_VERSION == _SVID_)
- exc.retval = HUGE;
- else
- exc.retval = HUGE_VAL;
+ exc.retval = HUGE_VAL;
if (_LIB_VERSION == _POSIX_)
__set_errno (ERANGE);
else if (!matherr(&exc)) {
@@ -843,10 +840,7 @@ static double zero = 0.0; /* used as const */
exc.type = SING;
exc.name = type < 100 ? "gamma" : (type < 200
? "gammaf" : "gammal");
- if (_LIB_VERSION == _SVID_)
- exc.retval = HUGE;
- else
- exc.retval = NAN;
+ exc.retval = HUGE_VAL;
if (_LIB_VERSION == _POSIX_)
__set_errno (EDOM);
else if (!matherr(&exc)) {