log1p

fnreal log1p(real x) @safe pure nothrow @nogc

Calculates the natural logarithm of 1 + x.

For very small x, log1p(x) will be more accurate than log(1 + x).

x log1p(x) divide by 0? invalid?
±0.0 ±0.0 no no
-1.0 -∞ yes no
<-1.0 -NaN no yes
+∞ +∞ no no
fndouble log1p(double x) @safe pure nothrow @nogc

ditto

fnfloat log1p(float x) @safe pure nothrow @nogc

ditto

fnreal log1p(int x) @safe pure nothrow @nogc
deprecated `std.math.exponential.log1p` called with argument types `(int)` matches both " ~ "`log1p(real)`, `log1p(double)`, and `log1p(float)`. Cast argument to floating point type instead.
No documentation available for this declaration.
fnreal log1p(uint x) @safe pure nothrow @nogc
deprecated `std.math.exponential.log1p` called with argument types `(uint)` matches both " ~ "`log1p(real)`, `log1p(double)`, and `log1p(float)`. Cast argument to floating point type instead.
No documentation available for this declaration.
fnreal log1p(long x) @safe pure nothrow @nogc
deprecated `std.math.exponential.log1p` called with argument types `(long)` matches both " ~ "`log1p(real)`, `log1p(double)`, and `log1p(float)`. Cast argument to floating point type instead.
No documentation available for this declaration.
fnreal log1p(ulong x) @safe pure nothrow @nogc
deprecated `std.math.exponential.log1p` called with argument types `(ulong)` matches both " ~ "`log1p(real)`, `log1p(double)`, and `log1p(float)`. Cast argument to floating point type instead.
No documentation available for this declaration.