diff --git a/src/core/model/int64x64-128.cc b/src/core/model/int64x64-128.cc index 1d70ef261..fe0c7d982 100644 --- a/src/core/model/int64x64-128.cc +++ b/src/core/model/int64x64-128.cc @@ -57,7 +57,7 @@ output_sign (const int128_t sa, bool negB = sb < 0; ua = negA ? -sa : sa; ub = negB ? -sb : sb; - return (negA && !negB) || (!negA && negB); + return negA != negB; } void