Required Static Methodswift-numerics 1.0.3RealModule

cos(_:)

The cosine of x.

ElementaryFunctions.swift:151
static func cos(_ x: Self) -> Self

For real types, x may be interpreted as an angle measured in radians.

See also:

  • sin()

  • tan()

  • acos()