Browse > Article
http://dx.doi.org/10.3745/KIPSTA.2005.12A.2.095

A Variable Latency Newton-Raphson's Floating Point Number Reciprocal Computation  

Kim Sung-Gi (부경대학교 대학원 컴퓨터공학과)
Cho Gyeong-Yeon (부경대학교 전자컴퓨터정보통신공학부)
Abstract
The Newton-Raphson iterative algorithm for finding a floating point reciprocal which is widely used for a floating point division, calculates the reciprocal by performing a fixed number of multiplications. In this paper, a variable latency Newton-Raphson's reciprocal algorithm is proposed that performs multiplications a variable number of times until the error becomes smaller than a given value. To find the reciprocal of a floating point number F, the algorithm repeats the following operations: '$ with the initial value $. The bits to the right of p fractional bits in intermediate multiplication results are truncated, and this truncation error is less than $. The value of p is 27 for the single precision floating point, and 57 for the double precision floating point. Let $, these is $'X_{i+1}=\frac{1}{F}-e_{i+1},\;where\;{'}e_{i+1} is approximate to $. Since the number of multiplications performed by the proposed algorithm is dependent on the input values, the average number of multiplications per an operation is derived from many reciprocal tables $(X_0=\frac{1}{F}{\pm}e_0)$ with varying sizes. The superiority of this algorithm is proved by comparing this average number with the fixed number of multiplications of the conventional algorithm. Since the proposed algorithm only performs the multiplications until the error gets smaller than a given value, it can be used to improve the performance of a reciprocal unit. Also, it can be used to construct optimized approximate reciprocal tables. The results of this paper can be applied to many areas that utilize floating point numbers, such as digital signal processing, computer graphics, multimedia scientific computing, etc.
Keywords
부동소수점;뉴톤-랍손;역수;가변시간;
Citations & Related Records
연도 인용수 순위
  • Reference
1 IEEE, IEEE Standard for Binary Floating-Point Arithmetic, ANSI/IEEE Standard, Std. 754-1985
2 S. Oberman, 'Floating Point Division and Square Root Algorithms and Implementation in the AMD-K7 Microprocessors,' Proc. 14th IEEE Symp, Computer Arithmetic, pp. 106-115, Apr. 1999   DOI
3 D. L. Fowler and J. E. Smith, 'An Accurate, High Speed Implementation of Division by Reciprocal Approximation,' Proc. 9th IEEE symp. Computer Arithmetic, IEEE, pp, 60-67, Sep. 1989   DOI
4 R. Goldschmidt, Application of division by convergence, master's thesis, MIT, Jun. 1964
5 M. Flynn, 'On Division by Functional Iteration,' IEEE Transactions on Computers, Vol. C-19, no. 8, pp. 702-706, Aug. 1970   DOI   ScienceOn
6 D. L. Harris, S. F. Oberman, and M. A. Horowitz, 'SRT Division Architectures and Implementations,' Proc. 13th IEEE Symp. Computer Arithmetic, Jul. 1997   DOI
7 S. F. McQuillan, J. V. McCanny, and R. Hamill, 'New Algorithms and VLSI Architectures for SRT Division and Square Root,' Proc. 11th IEEE Symp. Computer Arithmetic, IEEE, pp. 80-86, 1993   DOI
8 C. V. Freiman, 'Statistical Analysis of Certain Binary Division Algorithm,' IRE Proc., Vol. 49, pp. 91-103, 1961   DOI   ScienceOn
9 M. D. Ercegovac, et al, 'Improving Goldschmidt Division, Square Root, and Square Root Reciprocal,' IEEE Transactions on Computer, Vol. 49, No. 7, pp.759-763, Jul. 2000   DOI   ScienceOn
10 S. F. Oberman and M. J. Flynn, 'Design Issues in Division and Other Floating Point Operations,' IEEE Transactions on Computer, Vol. C-46, pp. 154-161, 1997   DOI   ScienceOn