diff options
| author | David Schultz <das@FreeBSD.org> | 2009-01-08 06:12:03 +0000 |
|---|---|---|
| committer | David Schultz <das@FreeBSD.org> | 2009-01-08 06:12:03 +0000 |
| commit | 4984f138f8ef473f0ff5054a49b65d377b23bad3 (patch) | |
| tree | c531df6664a466126dd0c1ecf0130e6031ba5f06 /lib | |
| parent | f9965aa640b9ff7b7bf89c915271dd71bc960f9c (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/msun/src/math.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/msun/src/math.h b/lib/msun/src/math.h index 374f95f83e8c..5ad96a824699 100644 --- a/lib/msun/src/math.h +++ b/lib/msun/src/math.h @@ -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 |
