diff options
author | Roland McGrath <roland@gnu.org> | 1996-03-20 00:18:44 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1996-03-20 00:18:44 +0000 |
commit | 4d5853334045cedb630716aec47e9cae49db3c9f (patch) | |
tree | eddefc007600b42b58d15ad9a9a267c04f5fba60 /math/math.h | |
parent | d3669add24e6ebc86ed25683ff4d4eb7c67e4d56 (diff) | |
download | glibc-4d5853334045cedb630716aec47e9cae49db3c9f.zip glibc-4d5853334045cedb630716aec47e9cae49db3c9f.tar.gz glibc-4d5853334045cedb630716aec47e9cae49db3c9f.tar.bz2 |
* 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/math.h')
-rw-r--r-- | math/math.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/math/math.h b/math/math.h index 2693fcc..6915a9e 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 */ |