Math387::LargestLog2 Function

int LargestLog2(int n);

Power of two which gives the first number that is equal or greater than n.

#NameTypeDescription
1nint

Returns: power of two which gives the first number that is equal or greater than n.

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