Returns the logarithm of 1 plus the argument.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Quad Log1PlusX(
Quad x
)
Public Shared Function Log1PlusX (
x As Quad
) As Quad
public:
static Quad Log1PlusX(
Quad x
)
static member Log1PlusX :
x : Quad -> Quad
Parameters
- x
- Type: Extreme.MathematicsQuad
A real number greater than
-1.
Return Value
Type:
QuadThe logarithm of 1 plus
x.
For small values of x,
the logarithm of 1 + x is close to
zero. When the logarithm is evaluated directly, this
can cause significant round-off error. This function
resolves this problem by using a direct approximations
for x close to 1.
Reference