diff options
-rw-r--r-- | ChangeLog | 16 | ||||
-rw-r--r-- | math/math_private.h | 4 | ||||
-rw-r--r-- | sysdeps/generic/e_rem_pio2l.c | 5 | ||||
-rw-r--r-- | sysdeps/ieee754/dbl-64/e_asin.c | 1 | ||||
-rw-r--r-- | sysdeps/ieee754/dbl-64/e_atan2.c | 2 | ||||
-rw-r--r-- | sysdeps/ieee754/dbl-64/e_exp.c | 4 | ||||
-rw-r--r-- | sysdeps/ieee754/dbl-64/e_log.c | 2 | ||||
-rw-r--r-- | sysdeps/ieee754/dbl-64/e_pow.c | 3 | ||||
-rw-r--r-- | sysdeps/ieee754/dbl-64/e_remainder.c | 1 | ||||
-rw-r--r-- | sysdeps/ieee754/dbl-64/e_sqrt.c | 1 |
10 files changed, 35 insertions, 4 deletions
@@ -1,3 +1,19 @@ +2001-05-12 Andreas Jaeger <aj@suse.de> + + * sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for + internal prototypes. + * sysdeps/ieee754/dbl-64/s_atan.c: Likewise. + * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise. + * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise. + * sysdeps/ieee754/dbl-64/e_pow.c: Likewise. + * sysdeps/ieee754/dbl-64/e_log.c: Likewise. + * sysdeps/ieee754/dbl-64/e_exp.c: Likewise. + * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. + * sysdeps/generic/e_rem_pio2l.c: Likewise. + (__ieee754_rem_pio2l): Fix prototype. + + * math/math_private.h (__copysign): Add internal prototype. + 2001-05-11 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/configure.in: Move binutils check to... diff --git a/math/math_private.h b/math/math_private.h index f3d1f23..eea7e34 100644 --- a/math/math_private.h +++ b/math/math_private.h @@ -188,6 +188,9 @@ extern double __kernel_cos (double,double); extern double __kernel_tan (double,double,int); extern int __kernel_rem_pio2 (double*,double*,int,int,int, const int32_t*); +/* internal functions. */ +extern double __copysign (double x, double __y); + /* ieee style elementary float functions */ extern float __ieee754_sqrtf (float); @@ -220,6 +223,7 @@ extern float __ieee754_remainderf (float,float); extern int32_t __ieee754_rem_pio2f (float,float*); extern float __ieee754_scalbf (float,float); + /* float versions of fdlibm kernel functions */ extern float __kernel_sinf (float,float,int); extern float __kernel_cosf (float,float); diff --git a/sysdeps/generic/e_rem_pio2l.c b/sysdeps/generic/e_rem_pio2l.c index 847f5f9..6172155 100644 --- a/sysdeps/generic/e_rem_pio2l.c +++ b/sysdeps/generic/e_rem_pio2l.c @@ -1,13 +1,14 @@ #include <math.h> #include <stdio.h> #include <errno.h> +#include "math_private.h" -long double +int __ieee754_rem_pio2l (long double x, long double *y) { fputs ("__ieee754_rem_pio2l not implemented\n", stderr); __set_errno (ENOSYS); - return 0.0; + return 0; } stub_warning (__ieee754_rem_pio2l) diff --git a/sysdeps/ieee754/dbl-64/e_asin.c b/sysdeps/ieee754/dbl-64/e_asin.c index a2b309e..4ad450f 100644 --- a/sysdeps/ieee754/dbl-64/e_asin.c +++ b/sysdeps/ieee754/dbl-64/e_asin.c @@ -39,6 +39,7 @@ #include "powtwo.tbl" #include "MathLib.h" #include "uasncs.h" +#include "math_private.h" void __doasin(double x, double dx, double w[]); void __dubsin(double x, double dx, double v[]); diff --git a/sysdeps/ieee754/dbl-64/e_atan2.c b/sysdeps/ieee754/dbl-64/e_atan2.c index adf7a0d..c72d25a 100644 --- a/sysdeps/ieee754/dbl-64/e_atan2.c +++ b/sysdeps/ieee754/dbl-64/e_atan2.c @@ -41,6 +41,8 @@ #include "MathLib.h" #include "uatan.tbl" #include "atnat2.h" +#include "math_private.h" + /************************************************************************/ /* An ultimate atan2 routine. Given two IEEE double machine numbers y,x */ /* it computes the correctly rounded (to nearest) value of atan2(y,x). */ diff --git a/sysdeps/ieee754/dbl-64/e_exp.c b/sysdeps/ieee754/dbl-64/e_exp.c index 190c566..f1c014b 100644 --- a/sysdeps/ieee754/dbl-64/e_exp.c +++ b/sysdeps/ieee754/dbl-64/e_exp.c @@ -33,10 +33,12 @@ /***************************************************************************/ #include "endian.h" -#include "uexp.h" +#include "uexp.h" #include "mydefs.h" #include "MathLib.h" #include "uexp.tbl" +#include "math_private.h" + double __slowexp(double); /***************************************************************************/ diff --git a/sysdeps/ieee754/dbl-64/e_log.c b/sysdeps/ieee754/dbl-64/e_log.c index 1a09972..650a9ff 100644 --- a/sysdeps/ieee754/dbl-64/e_log.c +++ b/sysdeps/ieee754/dbl-64/e_log.c @@ -38,6 +38,8 @@ #include "dla.h" #include "mpa.h" #include "MathLib.h" +#include "math_private.h" + void __mplog(mp_no *, mp_no *, int); /*********************************************************************/ diff --git a/sysdeps/ieee754/dbl-64/e_pow.c b/sysdeps/ieee754/dbl-64/e_pow.c index dc92922..b6cab78 100644 --- a/sysdeps/ieee754/dbl-64/e_pow.c +++ b/sysdeps/ieee754/dbl-64/e_pow.c @@ -26,7 +26,7 @@ /* checkint */ /* FILES NEEDED: dla.h endian.h mpa.h mydefs.h */ /* halfulp.c mpexp.c mplog.c slowexp.c slowpow.c mpa.c */ -/* uexp.c upow.c */ +/* uexp.c upow.c */ /* root.tbl uexp.tbl upow.tbl */ /* An ultimate power routine. Given two IEEE double machine numbers y,x */ /* it computes the correctly rounded (to nearest) value of x^y. */ @@ -40,6 +40,7 @@ #include "mydefs.h" #include "MathLib.h" #include "upow.tbl" +#include "math_private.h" double __exp1(double x, double xx, double error); diff --git a/sysdeps/ieee754/dbl-64/e_remainder.c b/sysdeps/ieee754/dbl-64/e_remainder.c index c59e589..9c82ae7 100644 --- a/sysdeps/ieee754/dbl-64/e_remainder.c +++ b/sysdeps/ieee754/dbl-64/e_remainder.c @@ -33,6 +33,7 @@ #include "mydefs.h" #include "urem.h" #include "MathLib.h" +#include "math_private.h" /**************************************************************************/ /* An ultimate remainder routine. Given two IEEE double machine numbers x */ diff --git a/sysdeps/ieee754/dbl-64/e_sqrt.c b/sysdeps/ieee754/dbl-64/e_sqrt.c index 570cc0e..fefe586 100644 --- a/sysdeps/ieee754/dbl-64/e_sqrt.c +++ b/sysdeps/ieee754/dbl-64/e_sqrt.c @@ -37,6 +37,7 @@ #include "dla.h" #include "MathLib.h" #include "root.tbl" +#include "math_private.h" /*********************************************************************/ /* An ultimate aqrt routine. Given an IEEE double machine number x */ |