[Numpy-discussion] Can numpy compute ln(640320**3 + 744)/163**.5 to 30 places?

Dick Moores rdmoores at gmail.com
Sat Jan 13 09:36:03 EST 2007


Can python compute ln(640320**3 + 744)/163**.5 to 30 places?

I ran across this the other day. It's value is said to be the same as
pi to about 30 places. I'd like to know if it is possible to do this
in python with numpy.

A friend pointed out that the Windows Calculator gives about 30
significant digits. I tried it and got
3.1415926535897932384626433832797. Pi to 32 places is
3.14159265358979323846264338327950, so the calculator is accurate to
31 significant digits (including the 3.).

So, how about numpy?

Thanks,

Dick Moores
Win XP Pro
Python 2.5
yet to install numpy



More information about the NumPy-Discussion mailing list