From f964e9f0305d779c94942a4cf61da9c4b33207f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 28 Sep 2024 15:57:28 +0200 Subject: [PATCH] Math: fix off by one error in docs. --- src/Magnum/Math/TypeTraits.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Magnum/Math/TypeTraits.h b/src/Magnum/Math/TypeTraits.h index f7caabecf..e8c31edb7 100644 --- a/src/Magnum/Math/TypeTraits.h +++ b/src/Magnum/Math/TypeTraits.h @@ -357,14 +357,15 @@ template struct TypeTraits: Implementation::TypeTraitsDefault { * integer types and * * - @cpp 1.0e-5f @ce for @cpp float @ce, - * - @cpp 1.0e-15 @ce for @cpp double @ce, + * - @cpp 1.0e-14 @ce for @cpp double @ce, * - @cpp 1.0e-17l @ce for @cpp long double @ce on platforms where it is * 80-bit, and @cpp 1.0e-14l @ce on platforms * @ref CORRADE_LONG_DOUBLE_SAME_AS_DOUBLE "where it is 64-bit". * * This matches fuzzy comparison precision in * @relativeref{Corrade,TestSuite} and is always one digit less than how - * @ref Debug or @relativeref{Corrade,Utility::format()} prints given type. + * @ref Debug, @relativeref{Corrade,Utility::format()} or + * @relativeref{Corrade,Utility::JsonWriter} prints given type. */ constexpr static T epsilon();