Skip to content

Commit 7b3f679

Browse files
committed
Fix duplicate missing sign
1 parent 6b3b15a commit 7b3f679

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/boost/decimal/detail/comparison.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ constexpr auto equal_parts_impl(T1 lhs_sig, U1 lhs_exp, bool lhs_sign,
212212
//
213213
// We try for multiplication even though it's a small range
214214
// Since it's an order of magnitude faster
215-
if (delta_exp <= 4 && delta_exp >= 4)
215+
if (delta_exp <= 4 && delta_exp >= -4)
216216
{
217217
if (delta_exp > 0)
218218
{

0 commit comments

Comments
 (0)