Edit

Share via


Double.Log2P1(Double) Method

Definition

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