DocumentCode
1150649
Title
Exponential and Logarithm by Sequential Squaring
Author
Karp, Alan H.
Author_Institution
IBM Scientific Center
Issue
5
fYear
1984
fDate
5/1/1984 12:00:00 AM
Firstpage
462
Lastpage
464
Abstract
A simple scheme is presented for computing the exponential of a floating point number using only shift, add, and multiply instructions. The algorithm involves no range reduction and handles overflow and underflow conditions automatically. It can be used to provide a result of any desired accuracy, provided only that sufficient precision is used during the calculation. The basic algorithm and three improvements are described. Both computational complexity and numerical precision are discussed. For the sake of symmetry, a method for computing the logarithm along similar lines is given.
Keywords
Algorithms; elementary functions; exponential; logarithm; Algorithm design and analysis; Arithmetic; Computational complexity; Computer aided instruction; Large-scale systems; Libraries; Microprocessors; Minimax techniques; Polynomials; Vector processors; Algorithms; elementary functions; exponential; logarithm;
fLanguage
English
Journal_Title
Computers, IEEE Transactions on
Publisher
ieee
ISSN
0018-9340
Type
jour
DOI
10.1109/TC.1984.1676464
Filename
1676464
Link To Document