math cosh

For math.

Returns the hyperbolic cosine of the number.

Command Type

built-in

Signature

> math cosh {flags}

Input/output types:

input output
number float
list<number> list<float>

Examples

Apply the hyperbolic cosine to 1

> 1 | math cosh
1.5430806348152435

Ported from nushell/nushell.github.io. Copyright (c) 2021 Nushell Project. MIT License.