Skip to content

ExtendedNumerics.BigDecimal.Log2(ExtendedNumerics.BigDecimal,int)

Adam White edited this page Oct 7, 2024 · 1 revision

BigDecimal.Log2(BigDecimal, int) Method

Returns the base-2 logarithm of an argument.

public static ExtendedNumerics.BigDecimal Log2(ExtendedNumerics.BigDecimal argument, int precision);

Parameters

argument BigDecimal

The argument to take the base-2 logarithm of.

precision System.Int32

The desired precision in terms of the number of digits to the right of the decimal.

Returns

BigDecimal
The base 2 logarithm of the argument.

Clone this wiki locally