# File lib/facets/more/quaternion.rb, line 522 def acos # acos q = -u log(q+sqrt(q^2-1)) q=self; u=unit_vector; -u*((q+(q*q-1).sqrt).log) end