Function sinh [src]

Alias for std.math.complex.sinh.sinh

Returns the hyperbolic sine of z.

Prototype

pub fn sinh(z: anytype) Complex(@TypeOf(z.re, z.im))

Source

pub fn sinh(z: anytype) Complex(@TypeOf(z.re, z.im)) { const T = @TypeOf(z.re, z.im); return switch (T) { f32 => sinh32(z), f64 => sinh64(z), else => @compileError("tan not implemented for " ++ @typeName(z)), }; }