Click or drag to resize
DigitalRuneMathHelperIsPowerOf2 Method
Determines whether the specified value is a power of two.

Namespace: DigitalRune.Mathematics
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public static bool IsPowerOf2(
	int value
)

Parameters

value
Type: SystemInt32
The value.

Return Value

Type: Boolean
if value is a power of two; otherwise, .
See Also