exp

fnComplex!T exp(T)(Complex!T x) @trusted pure nothrow @nogc

Calculates ex.

Parameters

xA complex number

Returns

The complex base e exponential of x
x exp(x)
(±0, +0) (1, +0)
(any, +∞) (NaN, NaN)
(any, NaN) (NaN, NaN)
(+∞, +0) (+∞, +0)
(-∞, any) (±0, cis(x.im))
(+∞, any) (±∞, cis(x.im))
(-∞, +∞) (±0, ±0)
(+∞, +∞) (±∞, NaN)
(-∞, NaN) (±0, ±0)
(+∞, NaN) (±∞, NaN)
(NaN, +0) (NaN, +0)
(NaN, any) (NaN, NaN)
(NaN, NaN) (NaN, NaN)