log1p
fn
real log1p(real x) @safe pure nothrow @nogcCalculates 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 |
fn
double log1p(double x) @safe pure nothrow @nogcditto
fn
float log1p(float x) @safe pure nothrow @nogcditto
fn
real log1p(int x) @safe pure nothrow @nogcdeprecated `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.
fn
real log1p(uint x) @safe pure nothrow @nogcdeprecated `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.
fn
real log1p(long x) @safe pure nothrow @nogcdeprecated `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.
fn
real log1p(ulong x) @safe pure nothrow @nogcdeprecated `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.