Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » sci.math.* » sci.math.independent

Topic: RE:LOGARITHM ALGORITHM
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
BULENT UNALMIS

Posts: 4
Registered: 12/12/04
RE:LOGARITHM ALGORITHM
Posted: Jul 18, 1996 3:26 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply



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........












Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.