mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
* 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.
This commit is contained in:
16
math/math.h
16
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 */
|
||||
|
Reference in New Issue
Block a user