aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-03-20 00:18:44 +0000
committerRoland McGrath <roland@gnu.org>1996-03-20 00:18:44 +0000
commit4d5853334045cedb630716aec47e9cae49db3c9f (patch)
treeeddefc007600b42b58d15ad9a9a267c04f5fba60 /math
parentd3669add24e6ebc86ed25683ff4d4eb7c67e4d56 (diff)
downloadglibc-4d5853334045cedb630716aec47e9cae49db3c9f.tar
glibc-4d5853334045cedb630716aec47e9cae49db3c9f.tar.gz
glibc-4d5853334045cedb630716aec47e9cae49db3c9f.tar.bz2
glibc-4d5853334045cedb630716aec47e9cae49db3c9f.zip
* sysdeps/i386/fpu/__math.h (asinh): Call log1p instead of __log1p.
* math/math.h: Move M_* constants before __math.h include. [__NO_MATH_INLINES || __OPTIMIZE__]: Include __math.h only #if this. * misc/efgcvt_r.c (ecvt_r): Declare floor, log10, fabs as weak extern. If log10 is not defined (i.e. no -lm), use stupid loop instead.
Diffstat (limited to 'math')
-rw-r--r--math/math.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/math/math.h b/math/math.h
index 2693fcc9d0..6915a9eb86 100644
--- a/math/math.h
+++ b/math/math.h
@@ -115,13 +115,6 @@ extern int matherr __P ((struct exception *));
#endif
-/* Get machine-dependent inline versions (if there are any). */
-#include <__math.h>
-
-
-__END_DECLS
-
-
#ifdef __USE_BSD
/* Some useful constants. */
#define M_E 2.7182818284590452354 /* e */
@@ -140,4 +133,13 @@ __END_DECLS
#endif
+/* Get machine-dependent inline versions (if there are any). */
+#if defined (__NO_MATH_INLINES) || defined (__OPTIMIZE__)
+#include <__math.h>
+#endif
+
+
+__END_DECLS
+
+
#endif /* math.h */