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
|
#endif
|
||||||
static inline bool
|
static inline bool
|
||||||
safe_isnan(double a) {
|
safe_isnan(double a) {
|
||||||
return isnan(a);
|
return __builtin_isnan(a);
|
||||||
}
|
}
|
||||||
|
|
||||||
#define CASESTRRET(s) \
|
#define CASESTRRET(s) \
|
||||||
|
|
Loading…
Reference in New Issue