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