fn cosh(x: anytype) @TypeOf(x)

Returns the hyperbolic cosine of x.

Special Cases:

  • cosh(+-0) = 1
  • cosh(+-inf) = +inf
  • cosh(nan) = nan

Parameters

x: anytype,