    # File lib/facets/more/quaternion.rb, line 340
      def == (other)
        if other.kind_of?(Quaternion)
          return (@re==other.re and @im==other.im and @jm==other.jm and @km==other.km)
        elsif other.kind_of?(Complex)
          @re==other.real and @im==other.image and @jm==0 and @km==0
        elsif Complex.generic?(other)
          @re==other and @im==0 and @jm==0 and @km==0
        else x , y = other.coerce(self); x == y
        end
      end