Use __builtin_isnan
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
15c7abcf41
commit
532a90d573
|
@ -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) \
|
||||
|
|
Loading…
Reference in New Issue