log

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

Calculate the natural logarithm of x.

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

ditto

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

ditto

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