Fix docs for Math.log256 (#3916)

This commit is contained in:
Saint Rat Wrongtail
2023-01-04 00:52:53 +10:00
committed by GitHub
parent c1d9da4052
commit 3a3c87b1a6

View File

@ -324,7 +324,7 @@ library Math {
} }
/** /**
* @dev Return the log in base 10, following the selected rounding direction, of a positive value. * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
* Returns 0 if given 0. * Returns 0 if given 0.
*/ */
function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {