Added a remark.

This commit is contained in:
Daniel Lemire 2022-11-18 12:27:38 -05:00
parent 39ea41b84a
commit 3d0e448940

View File

@ -80,7 +80,8 @@ fastfloat_really_inline bool rounds_to_nearest() noexcept {
// at compile-time. // at compile-time.
// There might be other ways to prevent compile-time optimizations (e.g., asm). // There might be other ways to prevent compile-time optimizations (e.g., asm).
// The value does not need to be std::numeric_limits<float>::min(), any small // The value does not need to be std::numeric_limits<float>::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<float>::min(); static volatile float fmin = std::numeric_limits<float>::min();
// //
// Explanation: // Explanation: