Synced
MathHelper.IsPowerOfTwo
Section titled “MathHelper.IsPowerOfTwo”
- Determines if value is powered by two.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.Mathematics
Declaration
Section titled “Declaration”public static bool Inno.Core.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.