expi

fnComplex!real expi(real y) @trusted pure nothrow @nogc

Parameters

yA real number.

Returns

The value of cos(y) + i sin(y).

Note

expi is included here for convenience and for easy migration of code.