Merge pull request #936 from zerodefect/improvement/fix_kmin_compiler_warning

Removed compiler warning about unused variable 'kMinExp'
This commit is contained in:
Niels Lohmann
2018-01-27 16:51:52 +01:00
committed by GitHub

View File

@@ -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