libm

Function acos

Source
pub fn acos(x: f64) -> f64
Expand description

Arccosine (f64)

Computes the inverse cosine (arc cosine) of the input value. Arguments must be in the range -1 to 1. Returns values in radians, in the range of 0 to pi.