Fix the types of INFINITY and NAN, which were broken in r131851. They

should both be floats, not doubles.

PR:		127795
Submitted by:	Christoph Mallon
MFC after:	2 weeks
This commit is contained in:
David Schultz 2009-01-08 06:12:03 +00:00
parent f9965aa640
commit 4984f138f8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=186886

View File

@ -55,8 +55,8 @@ extern const union __nan_un {
#ifdef __MATH_BUILTIN_CONSTANTS
#define HUGE_VALF __builtin_huge_valf()
#define HUGE_VALL __builtin_huge_vall()
#define INFINITY __builtin_inf()
#define NAN __builtin_nan("")
#define INFINITY __builtin_inff()
#define NAN __builtin_nanf("")
#else
#define HUGE_VALF (float)HUGE_VAL
#define HUGE_VALL (long double)HUGE_VAL