1. RE: logs and antilogs (to Kat)

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

new topic     » topic index » view message » categorize

2. RE: logs and antilogs (to 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

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

new topic     » goto parent     » topic index » view message » categorize

3. RE: logs and antilogs (to Kat)

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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu