Edit

Share via


Double.Log2P1(Double) 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.

C#
public static double Log2P1(double x);

Parameters

x
Double

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

Returns

log2(x + 1)

Implements

Applies to

Product Versions
.NET 7, 8, 9, 10