sdlIsinf function

int sdlIsinf(
  1. double x
)

Return whether the value is infinity.

\param x double-precision 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_isinff

extern SDL_DECLSPEC int SDLCALL SDL_isinf(double x)

Implementation

int sdlIsinf(double x) {
  final sdlIsinfLookupFunction =
      libSdl3.lookupFunction<Int32 Function(Double x), int Function(double x)>(
          'SDL_isinf');
  return sdlIsinfLookupFunction(x);
}