Single.Log2P1(Single) Method

Definition

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

public:
 static float Log2P1(float x) = System::Numerics::ILogarithmicFunctions<float>::Log2P1;
public static float Log2P1 (float x);
static member Log2P1 : single -> single
Public Shared Function Log2P1 (x As Single) As Single

Parameters

x
Single

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

Returns

log2(x + 1)

Implements

Applies to