Skip to content

Commit 1e86b5e

Browse files
committed
cosmetics
1 parent 6ac117d commit 1e86b5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/slimcpplib/long_int.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ constexpr bool long_int_t<native_t, size>::operator!=(const long_int_t& that) co
254254
template<typename native_t, uint_t size>
255255
constexpr bool long_int_t<native_t, size>::operator<(const long_int_t& that) const noexcept
256256
{
257-
return long_uint_t<native_t, size>::operator<(that) ^ sign() ^ that.sign();
257+
return (long_uint_t<native_t, size>::operator<(that) != sign()) != that.sign();
258258
}
259259

260260

0 commit comments

Comments
 (0)