BigFloat.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.0
C#
public static bool IsPow2(
	BigFloat value
)

Parameters

value  BigFloat
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