Math387::Log2Int64 Function

long long Log2Int64(long long x);

Log base 2.

#NameTypeDescription
1xlong long

Returns: Returns the log base 2 for 64bit integer argument X.

Remarks:

This function is more than 10x as fast as the Log2 with real argument.

See Also: Math387::Log10, Math387::LogN
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler