What is the difference between using RealField, as in
sage: RealField(10).pi()
3.1
and numerical_approx
, aka n
, as in
sage: pi().n(10)
3.1
Are they actually the same function under the hood or should one be used over the other in some cases?