Quad.IsPow2 Method

Determines if a value is a power of two.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
public static bool IsPow2(
	Quad value
)

Parameters

value  Quad
The value to be checked.

Return Value

Boolean
true if value is a power of two; otherwise, false.

Implements

IBinaryNumber<TSelf>.IsPow2(TSelf)

See Also