method

acos

v2_4_6 - Show latest stable - Class: Math
acos(p1)
public

Computes the arc cosine of x. Returns 0..PI.

Domain: [-1, 1]

Codomain: [0, PI]

Math.acos(0) == Math::PI/2  #=> true