Browse > Article

A Variable Latency Goldschmidt's Floating Point Number Divider  

Kim Sung-Gi (부경대학교 전자컴퓨터정보통신공학부)
Song Hong-Bok (동의대학교 전자정보통신공학부)
Cho Gyeong-Yeon (부경대학교 전자컴퓨터정보통신공학부)
Abstract
The Goldschmidt iterative algorithm for a floating point divide calculates it by performing a fixed number of multiplications. In this paper, a variable latency Goldschmidt's divide algorithm is proposed, that performs multiplications a variable number of times until the error becomes smaller than a given value. To calculate a floating point divide '$\frac{N}{F}$', multifly '$T=\frac{1}{F}+e_t$' to the denominator and the nominator, then it becomes ’$\frac{TN}{TF}=\frac{N_0}{F_0}$'. And the algorithm repeats the following operations: ’$R_i=(2-e_r-F_i),\;N_{i+1}=N_i{\ast}R_i,\;F_{i+1}=F_i{\ast}R_i$, i$\in${0,1,...n-1}'. The bits to the right of p fractional bits in intermediate multiplication results are truncated, and this truncation error is less than ‘$e_r=2^{-p}$'. The value of p is 29 for the single precision floating point, and 59 for the double precision floating point. Let ’$F_i=1+e_i$', there is $F_{i+1}=1-e_{i+1},\;e_{i+1}',\;where\;e_{i+1} is approximate to ‘$\frac{N}{F}$'. 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 ($T=\frac{1}{F}+e_t$) with varying sizes. 1'he 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 divider. 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
Goldschmidt; Floating Point; Divider;
Citations & Related Records
연도 인용수 순위
  • Reference
1 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, 199
2 M. Flynn, 'On Division by Functional Iteration,' IEEE Transactions on Computers vol. C-19, no. 8, pp. 702-706, Aug. 1970   DOI   ScienceOn
3 IEEE, IEEE Standard for Binary Floating-Po int Arithmetic, ANSI/IEEE Standard, Std. 754-1985
4 R. Goldschmidt, Application of division by convergence, master's thesis, MIT, Jun. 1964
5 D. DasSarma and D. Matula, 'Measuring and Accuracy of ROM Reciprocal Tables,' IEEE Transactions on Computer, vol.43, No.8, pp. 932-930, Aug. 1994   DOI   ScienceOn
6 C. V. Freiman, 'Statistical Analysis of Certain Binary Division Algorithm,' IRE Proc., vol. 49, pp. 91-103, 1961
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
8 S. Oberman, 'Floating Point Division and Square Root Algorithms and Implementation in the AMD-K7 Microproce ssors, ' Proc. 14th IEEE Symp. Computer Arithmetic, pp. 106-115, Apr. 1999
9 D. L. Harris, S. F. Oberman, and M. A. Horowitz, 'SRT Division Architectures and Implementations,' Proc. 13th IEEE Symp. Computer Arithmetic, Jul. 1997
10 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
11 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