Ab4d.SharpEngine help
Ab4d.SharpEngine help
Ab4d.SharpEngine Namespaces
Ab4d.SharpEngine.Utilities
MathUtils Class
MathUtils Methods
IsPower2 Method
IsPower2(Int32) Method
IsPower2(UInt32) Method
Math
Utils
Is
Power
2 Method
Overload List
Name
Description
IsPower2(Int32)
Returns true is the specified value is exact power of 2 (1, 2, 4, 8, 16, ...)
IsPower2(UInt32)
Returns true is the specified value is exact power of 2 (1, 2, 4, 8, 16, ...). Returns false for 0.
Top
See Also
Reference
MathUtils Class
Ab4d.SharpEngine.Utilities Namespace
Copyright (c) by AB4D d.o.o. (www.ab4d.com)