Skip to content

Commit

Permalink
Removed compiler warning about unused variable 'kMinExp'.
Browse files Browse the repository at this point in the history
  • Loading branch information
zerodefect committed Jan 25, 2018
1 parent 355c1e9 commit 95cf1fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion develop/detail/conversions/to_chars.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<int>(E) - kBias);

// Compute the boundaries m- and m+ of the floating-point value
Expand Down

0 comments on commit 95cf1fe

Please sign in to comment.