'Number of decimal digits that are guaranteed to be preserved in text.
When converting text -> float -> text, you are guaranteed that at least ``dig``
number of digits are preserved with respect to rounding or overflow.'

@property
def dig(self):

    from sympy.functions import floor, log
    return floor(((self.nmant * log(2)) / log(10)))
