From 532a90d573f464e4c99a17ea58b550d6ae3ce9af Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Sat, 30 Mar 2019 09:07:12 +0000 Subject: [PATCH] Use __builtin_isnan Signed-off-by: Yuxuan Shui --- src/utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) \