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:
committed by
Anonymous Maarten
parent
f896e26f59
commit
a296c40867
@@ -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