(n)
return max(1, int(round((int(n)+1)*3.3219280948873626)))
Return the number of bits required to represent n decimals
    accurately.
Return the number of bits required to represent n decimals
    accurately.
Return the number of bits required to represent n decimals accurately .
def dps_to_prec(n):
    """Return the number of bits required to represent n decimals
    accurately."""
    return max(1, int(round((int(n)+1)*3.3219280948873626)))
def dps_to_prec ( n ) : return max ( 1 , int ( round ( ( int ( n ) + 1 ) * 3.3219280948873626 ) ) )