cos

inline fun cos(angle: AngleF): Float

Computes the cosine of the given angle.

Special cases:

  • cos(NaN|+Inf|-Inf) is NaN


inline fun cos(value: ComplexF): ComplexF

Returns the cosine of the specified complex number.