Прочитај на енглеском Уреди

Делите путем


Single.Log2P1(Single) Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

Производ Верзије
.NET 7, 8, 9, 10