primes



I am new to the list so this might be known already.
I calculated 1000000 digits of PI and found the last 4 are wrong. I then 
calculated  3142 digits and found the last 2 were wrong. The method that 
is used seems to leave the last few digits wrong so you should calculate 
a little farther so that you can display the correct digits to the depth 
asked for.

here is the results

MAXIMA
678796130331164628399634646042209010610577943925
Joy of PI book
6787961303311646283996346460422090106105779458131
                                                                                                 
|
                                                                                       
1 millionth digit

ev(bfloat(%PI),fpprec:3142);
414665925201497435
41466592520149744285073246
ev(bfloat(%PI),fpprec:3150);



I hope this is clear and helps .
thanks again for the great software.
Doug Stewart