(prec)
return machin([(46, 31), (34, 49), (20, 161)], prec, True)
Computes ln(10). This is done with a hyperbolic Machin-type formula.
Computes ln(10). This is done with a hyperbolic Machin-type formula.
Computes ln ( 10 ) . This is done with a hyperbolic Machin - type formula .
def ln10_fixed(prec):
    """
    Computes ln(10). This is done with a hyperbolic Machin-type formula.
    """
    return machin([(46, 31), (34, 49), (20, 161)], prec, True)
def ln10_fixed ( prec ) : return machin ( [ ( 46 , 31 ) , ( 34 , 49 ) , ( 20 , 161 ) ] , prec , True )