```\\nfunction log10(uint256 value, Rounding rounding) internal pure returns (uint256) {\\n    unchecked {\\n        uint256 result = log10(value);\\n        return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0);\\n    }\\n}\\n```\\n