2001-05-12 Andreas Jaeger <aj@suse.de>
+ * sysdeps/ieee754/dbl-64/s_sin.c: Include "math_private.h" for
+ internal prototypes.
+ * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
+ * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
+ * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
+ * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
+ * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
+ * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
+
+ * math/math_private.h: Add prototypes for internal functions of
+ the IBM Accurate Mathematical Library.
+
+ * sysdeps/ieee754/dbl-64/s_atan.c: Include "math.h" for
+ prototypes.
+ * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
+
* sysdeps/ieee754/dbl-64/e_asin.c: Include "math_private.h" for
internal prototypes.
* sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
extern void __sincosl (long double, long double *, long double *);
#endif
+/* Prototypes for functions of the IBM Accurate Mathematical Library. */
+extern double __exp1 (double __x, double __xx, double __error);
+extern double __sin (double __x);
+extern double __cos (double __x);
+extern int __branred (double __x, double *__a, double *__aa);
+extern void __doasin (double __x, double __dx, double __v[]);
+extern void __dubsin (double __x, double __dx, double __v[]);
+extern void __dubcos (double __x, double __dx, double __v[]);
+extern double __halfulp (double __x, double __y);
+extern double __sin32 (double __x, double __res, double __res1);
+extern double __cos32 (double __x, double __res, double __res1);
+extern double __mpsin (double __x, double __dx);
+extern double __mpcos (double __x, double __dx);
+extern double __mpsin1 (double __x);
+extern double __mpcos1 (double __x);
+extern double __slowexp (double __x);
+extern double __slowpow (double __x, double __y, double __z);
+extern void __docos (double __x, double __dx, double __v[]);
+
#endif /* _MATH_PRIVATE_H_ */
-
/*
* IBM Accurate Mathematical Library
* Copyright (c) International Business Machines Corp., 2001
#include "endian.h"
#include "mydefs.h"
#include "dla.h"
+#include "math_private.h"
/********************************************************************/
/* Compute arcsin(x,dx,v) of double-length number (x+dx) the result */
-
/*
* IBM Accurate Mathematical Library
* Copyright (c) International Business Machines Corp., 2001
#include "sincos.tbl"
#include "dla.h"
#include "dosincos.h"
+#include "math_private.h"
+
/***********************************************************************/
/* Routine receive Double-Length number (x+dx) and computing sin(x+dx) */
/* as Double-Length number and store it at array v .It computes it by */
-
/*
* IBM Accurate Mathematical Library
* Copyright (c) International Business Machines Corp., 2001
#include "endian.h"
#include "mydefs.h"
#include "dla.h"
+#include "math_private.h"
double __ieee754_sqrt(double x);
#include "MathLib.h"
#include "uatan.tbl"
#include "atnat.h"
+#include "math.h"
void __mpatan(mp_no *,mp_no *,int); /* see definition in mpatan.c */
static double atanMp(double,const int[]);
#include "usncs.h"
#include "MathLib.h"
#include "sincos.tbl"
+#include "math_private.h"
static const double
sn3 = -1.66666666666664880952546298448555E-01,
#include "dla.h"
#include "mpa.h"
#include "MathLib.h"
+#include "math.h"
+
static double tanMp(double);
void __mptan(double, mp_no *, int);
-
/*
* IBM Accurate Mathematical Library
* Copyright (c) International Business Machines Corp., 2001
#include "endian.h"
#include "mpa.h"
#include "sincos32.h"
+#include "math_private.h"
/****************************************************************/
/* Compute Multi-Precision sin() function for given p. Receive */
-
/*
* IBM Accurate Mathematical Library
* Copyright (c) International Business Machines Corp., 2001
/* e^x */
/**************************************************************************/
#include "mpa.h"
+#include "math_private.h"
void __mpexp(mp_no *x, mp_no *y, int p);
-
/*
* IBM Accurate Mathematical Library
* Copyright (c) International Business Machines Corp., 2001
/*************************************************************************/
#include "mpa.h"
+#include "math_private.h"
void __mpexp(mp_no *x, mp_no *y, int p);
void __mplog(mp_no *x, mp_no *y, int p);