sdlIsnan function stdinc
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.2.0.
\sa SDL_isnanf
extern SDL_DECLSPEC int SDLCALL SDL_isnan(double x)
Implementation
int sdlIsnan(double x) {
final sdlIsnanLookupFunction = _libSdl
.lookupFunction<Int32 Function(Double x), int Function(double x)>(
'SDL_isnan',
);
return sdlIsnanLookupFunction(x);
}