Return whether the value is infinity.
Defined in <SDL3/SDL_stdinc.h>
int SDL_isinf(double x);
double | x | double-precision floating point value. |
(int) Returns non-zero if the value is infinity, 0 otherwise.
It is safe to call this function from any thread.
This function is available since SDL 3.1.3.