fn cos(z: anytype) Complex(@TypeOf(z.re))

Returns the cosine of z.

Parameters

z: anytype,