sdlIsinff function
Return whether the value is infinity.
\param x floating point value. \returns non-zero if the value is infinity, 0 otherwise.
\threadsafety It is safe to call this function from any thread.
\since This function is available since SDL 3.1.3.
\sa SDL_isinf
extern SDL_DECLSPEC int SDLCALL SDL_isinff(float x)
Implementation
int sdlIsinff(double x) {
final sdlIsinffLookupFunction =
libSdl3.lookupFunction<Int32 Function(Float x), int Function(double x)>(
'SDL_isinff');
return sdlIsinffLookupFunction(x);
}