Skip to content

Commit

Permalink
formated
Browse files Browse the repository at this point in the history
Signed-off-by: fzhedu <fzhedu@gmail.com>
  • Loading branch information
fzhedu committed May 19, 2022
1 parent 6448bdc commit d6cd540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/libcommon/include/common/arithmeticOverflow.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ inline bool mulOverflow(__int128 x, __int128 y, __int128 & res)
if (!x || !y)
return false;

return res/x != y; /// whether overflow int128
return res / x != y; /// whether overflow int128
}

/// Int256 doesn't use the complement representation to express negative values, but uses an extra bit to express the sign flag,
Expand Down

0 comments on commit d6cd540

Please sign in to comment.