'Float representation.'

def __float__(self):

    if self._isnan():
        if self.is_snan():
            raise ValueError('Cannot    convert    signaling    NaN    to    float')
        s = ('-nan' if self._sign else 'nan')
    else:
        s = str(self)
    return float(s)
