(self, rhs)
return self._buffer == rhs._buffer
Equals.
Equals.
Equals .
def eq(self, rhs):
        """Equals."""
        if isinstance(rhs, Float):
            # upgrade to Float
            return rhs.new().from_integer(self).eq(rhs)
        return self._buffer == rhs._buffer
def eq ( self , rhs ) : if isinstance ( rhs , Float ) : # upgrade to Float return rhs . new ( ) . from_integer ( self ) . eq ( rhs ) return self . _buffer == rhs . _buffer