1. RE: logs and antilogs (to Kat)
- Posted by rolf.schroeder at desy.de Oct 29, 2002
- 425 views
Kat wrote: > I have been looking all over the net for a formula to calculate > logs and antilogs for any given number, .... Hi Kat, If I remember correctly you were seeking some time ago for an (almost?) 'exact' representation of PI for the computer. With relation to this, may I ask you for what purpose do you need exp() and log() for 'any given number'? I.e., do you mean to express "exp(1.0e+300)" in a program? Have a nice day, Rolf
2. RE: logs and antilogs (to Kat)
- Posted by Don Phillips <EuNexus at yahoo.com> Oct 29, 2002
- 410 views
> If I remember correctly you were seeking some time ago for an (almost?) > 'exact' representation of PI for the computer. > With relation to this, may I ask you for what purpose do you need exp() > and log() for 'any given number'? I.e., do you mean to express > "exp(1.0e+300)" in a program? > > Have a nice day, Rolf Almost exact? Is this really needed? Im just curious. In my distant youth in one my classrooms, PI was on a banner spanning the entire classroom across the outside walls. Just for fun (because this class was quite boring) I would memorize sections of it. After I could recide 40 or so places, I was reading a nice article on the universe and it was stated therein that PI to 31 decimal places was enough to accurately measure the circumference of the galaxy to within 3 - 5 atoms (or something really ludicrus). Needless to say I stopped memorizing it. If you need PI to any certain degree, I can still recite it out to quite a few places... Hmm, let me see. 3.1415926535897932384626433833 (last digit is rounded from 27). Its about 21 more places than I have ever needed :P
3. RE: logs and antilogs (to Kat)
- Posted by Kat <kat at kogeijin.com> Oct 29, 2002
- 402 views
On 29 Oct 2002, at 12:58, rolf.schroeder at desy.de wrote: > > Kat wrote: > > > I have been looking all over the net for a formula to calculate > > logs and antilogs for any given number, .... > > Hi Kat, > > If I remember correctly you were seeking some time ago for an (almost?) > 'exact' representation of PI for the computer. Not me. > With relation to this, may I ask you for what purpose do you need exp() > and log() for 'any given number'? I.e., do you mean to express > "exp(1.0e+300)" in a program? Because my bignum .e for basic math seems to be working to over a million significant digits, and someone asked for log(). Besides, i hate to ask the computer for a math answer, and get something like 2.99999999 when i know the answer is 3. Kat