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