From 8af58b4becff7516dcb445ca5fa5edc64c80c7bc Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sat, 8 Jun 2024 23:15:21 -0400 Subject: [PATCH] SDL_FLT_EPSILON: Updated documentation to be wikiheaders-friendly. --- include/SDL3/SDL_stdinc.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/include/SDL3/SDL_stdinc.h b/include/SDL3/SDL_stdinc.h index 6dd9c43cbb..63c8d2aea9 100644 --- a/include/SDL3/SDL_stdinc.h +++ b/include/SDL3/SDL_stdinc.h @@ -279,12 +279,18 @@ 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 + +/** + * 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. + * + * \since This macro is available since SDL 3.0.0. + */ #define SDL_FLT_EPSILON 1.1920928955078125e-07F /* 0x0.000002p0 */ #endif