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

SDL_isnan - Return whether the value is NaN.

Defined in SDL3/SDL_stdinc.h

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

double-precision floating point value.

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

It is safe to call this function from any thread.

This function is available since SDL 3.2.0.

(3), SDL_isnanf(3)

SDL 3.2.10 Simple Directmedia Layer