Did I find the right examples for you? yes no

# sympy.GoldenRatio.evalf

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)
```Evaluate the given formula to an accuracy of n digits.
Optional keyword arguments:

subs=<dict>
Substitute numerical values for symbols, e.g.
subs={x:3, y:1+pi}.

maxn=<integer>
Allow a maximum temporary working precision of maxn digits
(default=100)(more...)
```

```        set([(E, p._print(E.evalf(15)))]), set([]), '      E')
assert fcode(GoldenRatio, human=False) == (set([(GoldenRatio, p._print(
GoldenRatio.evalf(15)))]), set([]), '      GoldenRatio')
assert fcode(pi, human=False) == (
set([(pi, p._print(pi.evalf(15)))]), set([]), '      pi')
```

```    assert (Catalan + x).evalf() == Catalan.evalf() + x
assert (EulerGamma + x).evalf() == EulerGamma.evalf() + x
assert (GoldenRatio + x).evalf() == GoldenRatio.evalf() + x

```

```    assert fcode(EulerGamma,human=False) == ([('EulerGamma', EulerGamma.evalf(15))], set([]), '      EulerGamma')
assert fcode(E,human=False) == ([('E', E.evalf(15))], set([]), '      E')
assert fcode(GoldenRatio,human=False) == ([('GoldenRatio', GoldenRatio.evalf(15))], set([]), '      GoldenRatio')
assert fcode(pi,human=False) == ([('pi', pi.evalf(15))], set([]), '      pi')
assert fcode(pi,precision=5,human=False) == ([('pi', pi.evalf(5))], set([]), '      pi')
```

```    assert (Catalan+x).evalf() == Catalan.evalf()+x
assert (EulerGamma+x).evalf() == EulerGamma.evalf()+x
assert (GoldenRatio+x).evalf() == GoldenRatio.evalf()+x

def test_conversion_to_mpmath():
```

```        set([(E, p._print(E.evalf(15)))]), set([]), '      E')