aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/ieee754
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-05-12 20:15:01 +0000
committerAndreas Jaeger <aj@suse.de>2001-05-12 20:15:01 +0000
commit15b3c029dcffaf1fdc2a847ee8b32c59d4774d2b (patch)
treeacea866072a85532ca12f2e4a02d076dc1d9d65b /sysdeps/ieee754
parente859d1d90a420e66482deae0c3a7151347a90c82 (diff)
downloadglibc-15b3c029dcffaf1fdc2a847ee8b32c59d4774d2b.tar
glibc-15b3c029dcffaf1fdc2a847ee8b32c59d4774d2b.tar.gz
glibc-15b3c029dcffaf1fdc2a847ee8b32c59d4774d2b.tar.bz2
glibc-15b3c029dcffaf1fdc2a847ee8b32c59d4774d2b.zip
Update.
* 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.
Diffstat (limited to 'sysdeps/ieee754')
-rw-r--r--sysdeps/ieee754/dbl-64/doasin.c2
-rw-r--r--sysdeps/ieee754/dbl-64/dosincos.c3
-rw-r--r--sysdeps/ieee754/dbl-64/halfulp.c2
-rw-r--r--sysdeps/ieee754/dbl-64/s_atan.c1
-rw-r--r--sysdeps/ieee754/dbl-64/s_sin.c1
-rw-r--r--sysdeps/ieee754/dbl-64/s_tan.c2
-rw-r--r--sysdeps/ieee754/dbl-64/sincos32.c2
-rw-r--r--sysdeps/ieee754/dbl-64/slowexp.c2
-rw-r--r--sysdeps/ieee754/dbl-64/slowpow.c2
9 files changed, 11 insertions, 6 deletions
diff --git a/sysdeps/ieee754/dbl-64/doasin.c b/sysdeps/ieee754/dbl-64/doasin.c
index d3cc88bb19..a051ca33ad 100644
--- a/sysdeps/ieee754/dbl-64/doasin.c
+++ b/sysdeps/ieee754/dbl-64/doasin.c
@@ -1,4 +1,3 @@
-
/*
* IBM Accurate Mathematical Library
* Copyright (c) International Business Machines Corp., 2001
@@ -32,6 +31,7 @@
#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 */
diff --git a/sysdeps/ieee754/dbl-64/dosincos.c b/sysdeps/ieee754/dbl-64/dosincos.c
index 498cc60929..4a76d20cbc 100644
--- a/sysdeps/ieee754/dbl-64/dosincos.c
+++ b/sysdeps/ieee754/dbl-64/dosincos.c
@@ -1,4 +1,3 @@
-
/*
* IBM Accurate Mathematical Library
* Copyright (c) International Business Machines Corp., 2001
@@ -38,6 +37,8 @@
#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 */
diff --git a/sysdeps/ieee754/dbl-64/halfulp.c b/sysdeps/ieee754/dbl-64/halfulp.c
index 929ca91c50..835a8a4118 100644
--- a/sysdeps/ieee754/dbl-64/halfulp.c
+++ b/sysdeps/ieee754/dbl-64/halfulp.c
@@ -1,4 +1,3 @@
-
/*
* IBM Accurate Mathematical Library
* Copyright (c) International Business Machines Corp., 2001
@@ -38,6 +37,7 @@
#include "endian.h"
#include "mydefs.h"
#include "dla.h"
+#include "math_private.h"
double __ieee754_sqrt(double x);
diff --git a/sysdeps/ieee754/dbl-64/s_atan.c b/sysdeps/ieee754/dbl-64/s_atan.c
index 2872c75db7..fa5d4c2fa2 100644
--- a/sysdeps/ieee754/dbl-64/s_atan.c
+++ b/sysdeps/ieee754/dbl-64/s_atan.c
@@ -41,6 +41,7 @@
#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[]);
diff --git a/sysdeps/ieee754/dbl-64/s_sin.c b/sysdeps/ieee754/dbl-64/s_sin.c
index ff6cf01bb8..5a95aba93d 100644
--- a/sysdeps/ieee754/dbl-64/s_sin.c
+++ b/sysdeps/ieee754/dbl-64/s_sin.c
@@ -52,6 +52,7 @@
#include "usncs.h"
#include "MathLib.h"
#include "sincos.tbl"
+#include "math_private.h"
static const double
sn3 = -1.66666666666664880952546298448555E-01,
diff --git a/sysdeps/ieee754/dbl-64/s_tan.c b/sysdeps/ieee754/dbl-64/s_tan.c
index 7b5dc4f3da..88aabfd05a 100644
--- a/sysdeps/ieee754/dbl-64/s_tan.c
+++ b/sysdeps/ieee754/dbl-64/s_tan.c
@@ -36,6 +36,8 @@
#include "dla.h"
#include "mpa.h"
#include "MathLib.h"
+#include "math.h"
+
static double tanMp(double);
void __mptan(double, mp_no *, int);
diff --git a/sysdeps/ieee754/dbl-64/sincos32.c b/sysdeps/ieee754/dbl-64/sincos32.c
index 0fee643a54..4ee4248de3 100644
--- a/sysdeps/ieee754/dbl-64/sincos32.c
+++ b/sysdeps/ieee754/dbl-64/sincos32.c
@@ -1,4 +1,3 @@
-
/*
* IBM Accurate Mathematical Library
* Copyright (c) International Business Machines Corp., 2001
@@ -43,6 +42,7 @@
#include "endian.h"
#include "mpa.h"
#include "sincos32.h"
+#include "math_private.h"
/****************************************************************/
/* Compute Multi-Precision sin() function for given p. Receive */
diff --git a/sysdeps/ieee754/dbl-64/slowexp.c b/sysdeps/ieee754/dbl-64/slowexp.c
index 3a3758b305..80e1571534 100644
--- a/sysdeps/ieee754/dbl-64/slowexp.c
+++ b/sysdeps/ieee754/dbl-64/slowexp.c
@@ -1,4 +1,3 @@
-
/*
* IBM Accurate Mathematical Library
* Copyright (c) International Business Machines Corp., 2001
@@ -29,6 +28,7 @@
/* e^x */
/**************************************************************************/
#include "mpa.h"
+#include "math_private.h"
void __mpexp(mp_no *x, mp_no *y, int p);
diff --git a/sysdeps/ieee754/dbl-64/slowpow.c b/sysdeps/ieee754/dbl-64/slowpow.c
index 3412197aef..1019380a7c 100644
--- a/sysdeps/ieee754/dbl-64/slowpow.c
+++ b/sysdeps/ieee754/dbl-64/slowpow.c
@@ -1,4 +1,3 @@
-
/*
* IBM Accurate Mathematical Library
* Copyright (c) International Business Machines Corp., 2001
@@ -33,6 +32,7 @@
/*************************************************************************/
#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);