Uređivanje

Dijeli putem


NFloat.IsPow2(NFloat) Method

Definition

Determines if a value is a power of two.

public:
 static bool IsPow2(System::Runtime::InteropServices::NFloat value) = System::Numerics::IBinaryNumber<System::Runtime::InteropServices::NFloat>::IsPow2;
public static bool IsPow2 (System.Runtime.InteropServices.NFloat value);
static member IsPow2 : System.Runtime.InteropServices.NFloat -> bool
Public Shared Function IsPow2 (value As NFloat) As Boolean

Parameters

value
NFloat

The value to be checked.

Returns

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

Implements

Applies to