Merge pull request #936 from zerodefect/improvement/fix_kmin_compiler_warning
Removed compiler warning about unused variable 'kMinExp'
This commit is contained in:
commit
7aace7c976
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ boundaries compute_boundaries(FloatType value)
|
||||||
|
|
||||||
const bool is_denormal = (E == 0);
|
const bool is_denormal = (E == 0);
|
||||||
const diyfp v = is_denormal
|
const diyfp v = is_denormal
|
||||||
? diyfp(F, 1 - kBias)
|
? diyfp(F, kMinExp)
|
||||||
: diyfp(F + kHiddenBit, static_cast<int>(E) - kBias);
|
: diyfp(F + kHiddenBit, static_cast<int>(E) - kBias);
|
||||||
|
|
||||||
// Compute the boundaries m- and m+ of the floating-point value
|
// Compute the boundaries m- and m+ of the floating-point value
|
||||||
|
|
Loading…
Reference in a new issue