Function js_sys::Math::cos [−][src]
pub fn cos(x: f64) -> f64
The Math.cos()
static function returns the cosine of the specified angle,
which must be specified in radians. This value is length(adjacent)/length(hypotenuse).
pub fn cos(x: f64) -> f64
The Math.cos()
static function returns the cosine of the specified angle,
which must be specified in radians. This value is length(adjacent)/length(hypotenuse).