|
@@ -356,7 +356,7 @@ cnan(double v) {
|
|
|
INLINE float
|
|
INLINE float
|
|
|
make_nan(float) {
|
|
make_nan(float) {
|
|
|
#ifndef _WIN32
|
|
#ifndef _WIN32
|
|
|
- return nanf();
|
|
|
|
|
|
|
+ return nanf("");
|
|
|
#else
|
|
#else
|
|
|
return numeric_limits<float>::quiet_NaN();
|
|
return numeric_limits<float>::quiet_NaN();
|
|
|
#endif
|
|
#endif
|
|
@@ -369,7 +369,7 @@ make_nan(float) {
|
|
|
INLINE double
|
|
INLINE double
|
|
|
make_nan(double) {
|
|
make_nan(double) {
|
|
|
#ifndef _WIN32
|
|
#ifndef _WIN32
|
|
|
- return nan();
|
|
|
|
|
|
|
+ return nan("");
|
|
|
#else
|
|
#else
|
|
|
return numeric_limits<double>::quiet_NaN();
|
|
return numeric_limits<double>::quiet_NaN();
|
|
|
#endif
|
|
#endif
|