1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2024-11-03 04:33:49 -05:00

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

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