AN APPROXIMATE SIGN DETECTION METHOD FOR RESIDUE NUMBERS AND ITS APPLICATION TO RNS DIVISION

被引:29
|
作者
HUNG, CY [1 ]
PARHAMI, B [1 ]
机构
[1] UNIV CALIF SANTA BARBARA,DEPT ELECT & COMP ENGN,SANTA BARBARA,CA 93106
关键词
ALGORITHMS; COMPUTER ARITHMETIC; RESIDUE NUMBER SYSTEMS; SIGN ESTIMATION; SRT DIVISION;
D O I
10.1016/0898-1221(94)90052-3
中图分类号
O29 [应用数学];
学科分类号
070104 ;
摘要
We present new division algorithms for Residue Number System (RNS). The algorithms are based on a sign estimation procedure that computes the sign of a residue number to be positive, negative, or indeterminate. In the last case, magnitude of the number is guaranteed to be in a limited interval whose size is related to the cost of the sign estimation process. Our division algorithms resemble SRT (Sweeney, Robertson, and Tocher) division; quotient digits in the set (-1, 0, 1) are computed one by one. Assume that the RNS has n moduli, n residue processors, and b bits per modulus, and that each b-bit addition/subtraction takes unit time. Our sign estimation procedure uses relatively small lookup tables and takes O(log n) time. The first division algorithm based on the new sign estimation procedure requires O(n blog n) time. A second algorithm, which improves the time complexity to O(n b), is the fastest algorithm proposed thus far. Intermediate between the two algorithms are a number of choices that offer speed/cost tradeoffs.
引用
收藏
页码:23 / 35
页数:13
相关论文
共 50 条