]> sourceware.org Git - glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Thu, 28 Aug 2003 00:14:28 +0000 (00:14 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 28 Aug 2003 00:14:28 +0000 (00:14 +0000)
* math/math_private.h: Declare __copysignf.
* sysdeps/ieee754/flt-32/s_scalbnf.c: Use __copysignf instead of
copysignf.

ChangeLog
math/math_private.h
sysdeps/ieee754/flt-32/s_scalbnf.c

index 459ee48d55684f52f77054c7dbd8cd36e743f764..4c012d176f28cd96f373326ee7182aa2c04e8e4b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2003-08-27  Ulrich Drepper  <drepper@redhat.com>
 
+       * math/math_private.h: Declare __copysignf.
+       * sysdeps/ieee754/flt-32/s_scalbnf.c: Use __copysignf instead of
+       copysignf.
+
        * sysdeps/x86_64/fpu/bits/mathinline.h: Define __signbitf,
        __signbit, and __signbitl inline functions.
 
index 84c1d9ad347c919ca7762d388733d60ddfe741ed..f545841df089cc8f768cf17b8aa75e6fe45c2a26 100644 (file)
@@ -232,6 +232,9 @@ extern float __kernel_cosf (float,float);
 extern float __kernel_tanf (float,float,int);
 extern int   __kernel_rem_pio2f (float*,float*,int,int,int, const int32_t*);
 
+/* internal functions.  */
+extern float __copysignf (float x, float __y);
+
 
 /* ieee style elementary long double functions */
 extern long double __ieee754_sqrtl (long double);
index 11b77bd6c238111b5c47755674c5471d2eb4f1ab..407cf607c7f801f56406da55d6ef0f7ca14e0023 100644 (file)
@@ -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;
This page took 0.108198 seconds and 5 git commands to generate.