From e69272344c43a156be8d7167a1af7043dec44be4 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 8 Jun 2024 08:29:17 -0700 Subject: [PATCH] Added documentation for SDL_FLT_EPSILON (thanks @MrOnlineCoder!) Closes https://github.com/libsdl-org/sdlwiki/pull/549 --- include/SDL3/SDL_stdinc.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/SDL3/SDL_stdinc.h b/include/SDL3/SDL_stdinc.h index 7d3182cf19..6dd9c43cbb 100644 --- a/include/SDL3/SDL_stdinc.h +++ b/include/SDL3/SDL_stdinc.h @@ -279,6 +279,9 @@ typedef Sint64 SDL_Time; */ /* @{ */ +/** + * Epsilon constant, used for comparing floating-point numbers. Equals by default to platform-defined FLT_EPSILON, or 1.1920928955078125e-07F if that's not available. + */ #ifdef FLT_EPSILON #define SDL_FLT_EPSILON FLT_EPSILON #else