# File lib/facets/more/quaternion.rb, line 408 def divmod other # right divmod: q1=d*q2+m d=self.rdiv(other).round; m=self-d*other; return d,m end