isfinite is not available on all platforms, so add a bitmasking alternative
Compiler Explorer shows both result in the same assembly.
This commit is contained in:
1 parent
f896e26f59
commit
a296c40867
2 files changed
+16
-7
No files matched your search
@@ -8,7 +8,6 @@
|
||||
|
||||
#include <SDL3/SDL_test.h>
|
||||
|
||||
#define ISFINITE(X) isfinite((float)(X))
|
||||
#define ISINF(X) isinf((float)(X))
|
||||
#define ISNAN(X) isnan((float)(X))
|
||||
|
||||
|
||||
Reference in new issue
Block a user