aboutsummaryrefslogtreecommitdiff
path: root/math/math.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-11-05 18:07:15 +0000
committerUlrich Drepper <drepper@redhat.com>1998-11-05 18:07:15 +0000
commitd76bd17ff96a44417e0d0f1e50591bded3263199 (patch)
tree07b65bc9e9a0717b022ed4459fc24b16d23259ce /math/math.h
parent9a821cf90b38590fa546dc3246d12526e4f95ba1 (diff)
downloadglibc-d76bd17ff96a44417e0d0f1e50591bded3263199.zip
glibc-d76bd17ff96a44417e0d0f1e50591bded3263199.tar.gz
glibc-d76bd17ff96a44417e0d0f1e50591bded3263199.tar.bz2
Update.
* math/math.h: Unconditionally include bits/mathdef.h. Declare long double functions only if __NO_LONG_DOUBLE_MATH is not defined. * sysdeps/generic/bits/mathdef.h: Define only if __USE_ISOC9X. Define __NO_LONG_DOUBLE_MATH. * sysdeps/m68k/fpu/bits/mathdef.h: Define only if __USE_ISOC9X. * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
Diffstat (limited to 'math/math.h')
-rw-r--r--math/math.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/math/math.h b/math/math.h
index 2a5f8d3..42f32ee 100644
--- a/math/math.h
+++ b/math/math.h
@@ -36,6 +36,8 @@ __BEGIN_DECLS
#ifdef __USE_ISOC9X
# include <bits/nan.h>
#endif
+/* Get general and ISO C 9X specific information. */
+#include <bits/mathdef.h>
/* The file <bits/mathcalls.h> contains the prototypes for all the
@@ -81,7 +83,7 @@ __BEGIN_DECLS
# undef _Mdouble_
# undef __MATH_PRECNAME
-# if __STDC__ - 0 || __GNUC__ - 0
+# if __STDC__ - 0 || __GNUC__ - 0 && !defined __NO_LONG_DOUBLE_MATH
/* Include the file of declarations again, this time using `long double'
instead of `double' and appending l to each function name. */
@@ -147,7 +149,6 @@ extern int signgam;
decimal and all internal floating-point formats.
*/
-# include <bits/mathdef.h>
/* All floating-point numbers can be put in one of these categories. */
enum