1
0
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:
Roland McGrath
1996-03-20 00:18:44 +00:00
parent d3669add24
commit 4d58533340
5 changed files with 43 additions and 18 deletions

View File

@ -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 */