Synced
MathHelper.IsPowerOfTwo
Section titled “MathHelper.IsPowerOfTwo”
- Determines if value is powered by two.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Core.Mathematics
Scope: Runtime
Declaration
Section titled “Declaration”public static bool InnoEngine.Mathematics.MathHelper.IsPowerOfTwo(int value)Returns
Section titled “Returns”true if value is powered by two; otherwise false.
Parameters
Section titled “Parameters”Parameter value: The concrete value read or transformed by this operation.