encode_Fast_log

encode_Fast_log

Overview

encode_Fast_log is a class in Aspose.Font FOSS for Python.

This class provides 4 methods for working with encode_Fast_log objects in Python programs. Available methods include: FastLog2, Log2Floor, Log2FloorNonZero, __init__. All public members are accessible to any Python application after installing the Aspose.Font FOSS for Python package.

Methods

SignatureDescription
__init__()Calls init on this encode_Fast_log instance.
Log2Floor(n)Returns the greatest integer less than or equal to the base‑2 logarithm of n
Log2FloorNonZero(n)Returns floor(log2(n)) for n greater than zero
FastLog2(v)Returns the floor of the base‑2 logarithm of a non‑negative integer v in O(1) time

See Also