+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...
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);
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);
#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)
#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[]);
#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). */
/***************************************************************************/
#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);
/***************************************************************************/
#include "dla.h"
#include "mpa.h"
#include "MathLib.h"
+#include "math_private.h"
+
void __mplog(mp_no *, mp_no *, int);
/*********************************************************************/
/* 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. */
#include "mydefs.h"
#include "MathLib.h"
#include "upow.tbl"
+#include "math_private.h"
double __exp1(double x, double xx, double error);
#include "mydefs.h"
#include "urem.h"
#include "MathLib.h"
+#include "math_private.h"
/**************************************************************************/
/* An ultimate remainder routine. Given two IEEE double machine numbers x */
#include "dla.h"
#include "MathLib.h"
#include "root.tbl"
+#include "math_private.h"
/*********************************************************************/
/* An ultimate aqrt routine. Given an IEEE double machine number x */