ClojureDocs

Nav

Namespaces

cos

clojure.math

Available since 1.11
  • (cos a)
Returns the cosine of an angle.
If a is ##NaN, ##-Inf, ##Inf => ##NaN
See: https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html#cos-double-