sdlIsnan function
Return whether the value is NaN.
\param x double-precision 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_isnanf
extern SDL_DECLSPEC int SDLCALL SDL_isnan(double x)
Implementation
int sdlIsnan(double x) {
final sdlIsnanLookupFunction =
libSdl3.lookupFunction<Int32 Function(Double x), int Function(double x)>(
'SDL_isnan');
return sdlIsnanLookupFunction(x);
}