diff --git a/src/utils.h b/src/utils.h index 45f3911..939872c 100644 --- a/src/utils.h +++ b/src/utils.h @@ -27,7 +27,7 @@ __attribute__((optimize("-fno-fast-math"))) #endif static inline bool safe_isnan(double a) { - return isnan(a); + return __builtin_isnan(a); } #define CASESTRRET(s) \