Dwight K. Elvey wrote:
Hi
For those that are interested in such things, they
have found a formula to calculate any digits of
PI. The only problem seems to be that it can only
do this for the Hexadecimal digits and not the
decimal digits. They are still looking for an equation
that will do it for decimal digits.
This can be used to verify ones PI calculations.
I saw the formula in a Science News about 2 years ago.
Jerome Fine replies:
For those individuals who like to use TECO, the following file (PI.TEC) was
sent to me in 1998 by Nicholas Zymaris:
GZ0J\UNQN"E 40UN ' BUH BUV HK
QN< J BUQ QN*10/3UI
QI< \+2*10+(QQ*QI)UA B L K QI*2-1UJ QA/QJUQ
QA-(QQ*QJ)-2\ 10 at I// -1%I >
QQ/10UT QH+QT+48UW QW-58"E 48UW %V ' QV"N QV^T ' QWUV QQ-(QT*10)UH >
QV^T @^A/
/HKEX$$
The last two characters are <ESC> not dollar signs!!!!!!!
Under RT-11, enter the command:
MUNG PI.TEC nn
The default "nn" is 40.
As far as I can understand, the result is truncated after
"nn" digits. However, checking the values shows a problem
between 50 and 51 digits. If anyone is able to use this
file and check the values, it would be appreciated if
you could verify for 100 digits. Also, eventually, it
would be interesting to figure out the multi-precision
decimal evaluation algorithm.
If you can print out the value for both hex and decimal,
that would also help!
Sincerely yours,
Jerome Fine
--
If you attempted to send a reply and the original e-mail
address has been discontinued due a high volume of junk
e-mail, then the semi-permanent e-mail address can be
obtained by replacing the four characters preceding the
'at' with the four digits of the current year.