The OpenD Programming Language

coshisinh

@safe pure nothrow @nogc
Complex!real
coshisinh
(
real y
)

Return Value

Type: Complex!real

The value of cosh(y) + i sinh(y)

Note: coshisinh is included here for convenience and for easy migration of code.

Examples

import std.math.trigonometry : cosh, sinh;
assert(coshisinh(3.0L) == complex(cosh(3.0L), sinh(3.0L)));

Meta