Redigera

Dela via


NFloat.Log2P1(NFloat) Method

Definition

Computes the base-2 logarithm of a value plus one.

public:
 static System::Runtime::InteropServices::NFloat Log2P1(System::Runtime::InteropServices::NFloat x) = System::Numerics::ILogarithmicFunctions<System::Runtime::InteropServices::NFloat>::Log2P1;
public static System.Runtime.InteropServices.NFloat Log2P1 (System.Runtime.InteropServices.NFloat x);
static member Log2P1 : System.Runtime.InteropServices.NFloat -> System.Runtime.InteropServices.NFloat
Public Shared Function Log2P1 (x As NFloat) As NFloat

Parameters

x
NFloat

The value to which one is added before computing the base-2 logarithm.

Returns

log2(x + 1)

Implements

Applies to