diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-08-28 00:14:28 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-08-28 00:14:28 +0000 |
commit | abcb00dabb45898628edba9ee13e499977714579 (patch) | |
tree | 6e740f2b66f0935459bc462bcbc8b922d79baf57 /sysdeps | |
parent | ea493b56b434b21190e6fe39212d6d15e4eecdf0 (diff) | |
download | glibc-abcb00dabb45898628edba9ee13e499977714579.tar glibc-abcb00dabb45898628edba9ee13e499977714579.tar.gz glibc-abcb00dabb45898628edba9ee13e499977714579.tar.bz2 glibc-abcb00dabb45898628edba9ee13e499977714579.zip |
Update.
* math/math_private.h: Declare __copysignf.
* sysdeps/ieee754/flt-32/s_scalbnf.c: Use __copysignf instead of
copysignf.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/ieee754/flt-32/s_scalbnf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/ieee754/flt-32/s_scalbnf.c b/sysdeps/ieee754/flt-32/s_scalbnf.c index 11b77bd6c2..407cf607c7 100644 --- a/sysdeps/ieee754/flt-32/s_scalbnf.c +++ b/sysdeps/ieee754/flt-32/s_scalbnf.c @@ -49,13 +49,13 @@ tiny = 1.0e-30; if (k==0xff) return x+x; /* NaN or Inf */ k = k+n; if (n> 50000 || k > 0xfe) - return huge*copysignf(huge,x); /* overflow */ + return huge*__copysignf(huge,x); /* overflow */ if (n< -50000) - return tiny*copysignf(tiny,x); /*underflow*/ + return tiny*__copysignf(tiny,x); /*underflow*/ if (k > 0) /* normal result */ {SET_FLOAT_WORD(x,(ix&0x807fffff)|(k<<23)); return x;} if (k <= -25) - return tiny*copysignf(tiny,x); /*underflow*/ + return tiny*__copysignf(tiny,x); /*underflow*/ k += 25; /* subnormal result */ SET_FLOAT_WORD(x,(ix&0x807fffff)|(k<<23)); return x*twom25; |