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:
parent
f9965aa640
commit
4984f138f8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user