Open code423n4 opened 2 years ago
byterocket
Issue Information: G008
Findings:
libraries/MathLib.sol::43 => return ((a * WAD) + (b / 2)) / b; libraries/MathLib.sol::55 => return ((a + (n / 2)) / n) * n; libraries/MathLib.sol::67 => return ((a * b) + (WAD / 2)) / WAD; libraries/MathLib.sol::85 => uint256 x = y / 2 + 1; libraries/MathLib.sol::88 => x = (y / x + x) / 2;
c4udit
prefer readability.
Agree with the finding, and don't mind a nofix for readability
Handle
byterocket
Vulnerability details
Impact
Issue Information: G008
Findings:
Tools used
c4udit