From 3d0e448940ba40760b1abae03f82100a6dccad51 Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Fri, 18 Nov 2022 12:27:38 -0500 Subject: [PATCH] Added a remark. --- include/fast_float/parse_number.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/fast_float/parse_number.h b/include/fast_float/parse_number.h index a1f4c5d..0a8092f 100644 --- a/include/fast_float/parse_number.h +++ b/include/fast_float/parse_number.h @@ -80,7 +80,8 @@ fastfloat_really_inline bool rounds_to_nearest() noexcept { // at compile-time. // There might be other ways to prevent compile-time optimizations (e.g., asm). // The value does not need to be std::numeric_limits::min(), any small - // value so that 1 + x should round to 1 would do. + // value so that 1 + x should round to 1 would do (after accounting for excess + // precision, as in 387). static volatile float fmin = std::numeric_limits::min(); // // Explanation: