(self)
return int(-(man >> 8) if neg else man >> 8)
Truncate float to integer.
Truncate float to integer.
Truncate float to integer .
def to_int_truncate(self):
        """Truncate float to integer."""
        man, neg = self._to_int_den()
        # discard carry
        # python2: int() converts from type long if possible
        return int(-(man >> 8) if neg else man >> 8)
def to_int_truncate ( self ) : man , neg = self . _to_int_den ( ) # discard carry # python2: int() converts from type long if possible return int ( - ( man >> 8 ) if neg else man >> 8 )