1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-01 10:06:57 +03:00
* 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.
This commit is contained in:
Ulrich Drepper
1998-11-05 18:07:15 +00:00
parent 9a821cf90b
commit d76bd17ff9
6 changed files with 55 additions and 30 deletions

View File

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