DOKK / manpages / debian 13 / libsdl3-doc / SDL_isinf.3.en
SDL_isinf(3) SDL3 FUNCTIONS SDL_isinf(3)

SDL_isinf - Return whether the value is infinity.

Defined in SDL3/SDL_stdinc.h

#include "SDL3/SDL.h"
int SDL_isinf(double x);

double-precision floating point value.

Returns non-zero if the value is infinity, 0 otherwise.

It is safe to call this function from any thread.

This function is available since SDL 3.2.0.

(3), SDL_isinff(3)

SDL 3.2.10 Simple Directmedia Layer