Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.



RE:LOGARITHM ALGORITHM
Posted:
Jul 18, 1996 3:26 PM


HELLO;
I FIND THIS ALGORITHM IN PDP8' s BOOK.
(TAB AND SPACE CHARACTERS IMPORTAND DONT MODIFY PLEACE)
LN ( X ) Y = LOG ( X ) =  LN ( 10 )
M = MANTIS OF X E = EXPONENT OF X
LN ( X ) =[ E + LOG ( M )] * LN ( 2 ) 2
3 5 1 LOG ( M ) = (C1* Z) + ( C3*Z ) +(C5*Z )   2 2
(M  SQR (0.5)) Z=  (M + SQR (0.5))
C1 = 2.8853913 C3 = 0.9614706 C5 = 0.59897865 SQR ( 0.5 ) = 0.7071068 LN ( 2 ) = 0.6931472
0 < X =< 1
6 DIGIT PRECISSION
( I DID NOT CHECK IT)
BYE........



