mirror of
https://github.com/nlohmann/json.git
synced 2026-02-02 21:42:08 +00:00
Removed compiler warning about unused variable 'kMinExp'.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user