BigFloat.Log1PlusX Method

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

Overload List

Log1PlusX(BigFloat) Returns the natural logarithm of 1 plus a number with the default accuracy.
Log1PlusX(BigFloat, AccuracyGoal) Returns the natural logarithm of 1 plus a number with the specified accuracy.
Log1PlusX(BigFloat, AccuracyGoal, RoundingMode) Returns the natural logarithm of 1 plus a number with the specified accuracy.

Log1PlusX(BigFloat)

Returns the natural logarithm of 1 plus a number with the default accuracy.
C#
public static BigFloat Log1PlusX(
	BigFloat value
)

Parameters

value  BigFloat
A BigFloat value.

Return Value

BigFloat
The natural logarithm of 1 + value.

Exceptions

ArgumentNullException

value is null.

Log1PlusX(BigFloat, AccuracyGoal)

Returns the natural logarithm of 1 plus a number with the specified accuracy.
C#
public static BigFloat Log1PlusX(
	BigFloat value,
	AccuracyGoal accuracyGoal
)

Parameters

value  BigFloat
A BigFloat value.
accuracyGoal  AccuracyGoal
An AccuracyGoal value that specifies the desired accuracy of the result.

Return Value

BigFloat
The natural logarithm of 1 + value with an accuracy within accuracyGoal.

Exceptions

ArgumentNullException

value is null.

Log1PlusX(BigFloat, AccuracyGoal, RoundingMode)

Returns the natural logarithm of 1 plus a number with the specified accuracy.
C#
public static BigFloat Log1PlusX(
	BigFloat value,
	AccuracyGoal accuracyGoal,
	RoundingMode roundingMode
)

Parameters

value  BigFloat
A BigFloat value.
accuracyGoal  AccuracyGoal
An AccuracyGoal value that specifies the desired accuracy of the result.
roundingMode  RoundingMode
A RoundingMode value that specifies how the result should be rounded.

Return Value

BigFloat
The natural logarithm of 1 + value with an accuracy within accuracyGoal.

Exceptions

ArgumentNullException

value is null.

See Also