From 95cf1fefaa0470dff69721fd78eae063b7447b94 Mon Sep 17 00:00:00 2001 From: zerodefect Date: Thu, 25 Jan 2018 12:51:48 +0000 Subject: [PATCH] Removed compiler warning about unused variable 'kMinExp'. --- develop/detail/conversions/to_chars.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/develop/detail/conversions/to_chars.hpp b/develop/detail/conversions/to_chars.hpp index 73d3a087..549ff01e 100644 --- a/develop/detail/conversions/to_chars.hpp +++ b/develop/detail/conversions/to_chars.hpp @@ -204,7 +204,7 @@ boundaries compute_boundaries(FloatType value) const bool is_denormal = (E == 0); const diyfp v = is_denormal - ? diyfp(F, 1 - kBias) + ? diyfp(F, kMinExp) : diyfp(F + kHiddenBit, static_cast(E) - kBias); // Compute the boundaries m- and m+ of the floating-point value