Use __builtin_isnan

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui 2019-03-30 09:07:12 +00:00
parent 15c7abcf41
commit 532a90d573
No known key found for this signature in database
GPG Key ID: 37C999F617EA1A47
1 changed files with 1 additions and 1 deletions

View File

@ -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) \