glibc/sysdeps/ieee754
Joseph Myers c0c49d60cf Simplify NAN definitions.
Similar to my patches for HUGE_VAL and INFINITY. this patch eliminates
the bits/nan.h headers.  __builtin_nanf ("") is used to define NAN for
GCC 3.3 and later; the fallback is (0.0f / 0.0f), which is a constant
expression for a quiet NaN of type float, but raises a spurious
"invalid" exception outside static initializers, which seems the best
that can be done purely in standard C.  Again, if anyone actually uses
a compiler with its own incompatible extension for producing a
constant quiet NaN, we can add compiler conditionals.

Tested for x86_64.

	*  math/math.h [__USE_ISOC99] (NAN): Define directly here.  Do not
	include <bits/nan.h>.
	* math/Makefile (headers): Remove bits/nan.h.
	* bits/nan.h: Remove.
	* sysdeps/ieee754/bits/nan.h: Likewise.
	* sysdeps/mips/bits/nan.h: Likewise.
2017-08-31 16:39:25 +00:00
..
dbl-64 Fix CFLAGS override in sysdeps/ieee754/dbl-64 2017-08-24 15:56:11 +01:00
float128 float128: Add signbit alternative for old compilers 2017-06-30 18:34:29 -03:00
flt-32 Obsolete matherr, _LIB_VERSION, libieee.a. 2017-08-21 17:45:10 +00:00
ldbl-64-128 Use locale_t, not __locale_t, throughout glibc 2017-06-20 20:30:06 -04:00
ldbl-96 Obsolete matherr, _LIB_VERSION, libieee.a. 2017-08-21 17:45:10 +00:00
ldbl-128 Obsolete matherr, _LIB_VERSION, libieee.a. 2017-08-21 17:45:10 +00:00
ldbl-128ibm Obsolete matherr, _LIB_VERSION, libieee.a. 2017-08-21 17:45:10 +00:00
ldbl-opt Consistently use uintN_t not u_intN_t in libm. 2017-08-03 19:55:04 +00:00
ieee754.h
k_standard.c Fix GCC 7 build of k_standard.c. 2017-08-21 21:43:32 +00:00
k_standardf.c Obsolete matherr, _LIB_VERSION, libieee.a. 2017-08-21 17:45:10 +00:00
k_standardl.c Obsolete matherr, _LIB_VERSION, libieee.a. 2017-08-21 17:45:10 +00:00
Makefile
s_lib_version.c Simplify math-svid-compat code. 2017-08-28 15:19:52 +00:00
s_matherr.c Obsolete matherr, _LIB_VERSION, libieee.a. 2017-08-21 17:45:10 +00:00
s_signgam.c