sdlIsnanf function
Return whether the value is NaN.
\param x floating point value. \returns non-zero if the value is NaN, 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_isnan
extern SDL_DECLSPEC int SDLCALL SDL_isnanf(float x)
Implementation
int sdlIsnanf(double x) {
final sdlIsnanfLookupFunction =
libSdl3.lookupFunction<Int32 Function(Float x), int Function(double x)>(
'SDL_isnanf');
return sdlIsnanfLookupFunction(x);
}