Scroll to navigation

SDL_FLT_EPSILON(3) SDL3 FUNCTIONS SDL_FLT_EPSILON(3)

NAME

SDL_FLT_EPSILON - Epsilon constant, used for comparing floating-point numbers.

HEADER FILE

Defined in SDL3/SDL_stdinc.h

SYNOPSIS

#include "SDL3/SDL.h"
#define SDL_FLT_EPSILON 1.1920928955078125e-07F /* 0x0.000002p0 */

DESCRIPTION

Equals by default to platform-defined FLT_EPSILON , or 1.1920928955078125e-07F if that's not available.

AVAILABILITY

This macro is available since SDL 3.1.3.

SDL 3.1.6 Simple Directmedia Layer