Function ang::acos [] [src]

pub fn acos<T: Float>(value: T) -> Option<Angle<T>>

Compute the arccosine of a number. Return value is in the range of [0, π] rad or None if the number is outside the range [-1, 1].