🚑 fix warning

This commit is contained in:
Niels Lohmann committed 2024-11-08 22:48:11 +01:00
1 parent 88318f9a77
commit 83dc915ac2
4 files changed
+47 -5

No files matched your search

@@ -239,7 +239,7 @@ boundaries compute_boundaries(FloatType value)
// v- m- v m+ v+
const bool lower_boundary_is_closer = F == 0 && E > 1;
const diyfp m_plus = diyfp(2 * v.f + 1, v.e - 1);
const diyfp m_plus = diyfp((2 * v.f) + 1, v.e - 1);
const diyfp m_minus = lower_boundary_is_closer
? diyfp(4 * v.f - 1, v.e - 2) // (B)
: diyfp(2 * v.f - 1, v.e - 1); // (A)