def prec_to_dps(n):
    return max(1, int(round(int(n)/3.3219280948873626)-1))
Return number of accurate decimals that can be represented
dataset/ETHPy150Open fredrik-johansson/mpmath/mpmath/libmp/libmpf.py/prec_to_dps