摘要:
A method and apparatus is disclosed that utilizes ''Lindsley's Law'', a polynomial convergence algorithm, suitable even for high convergence rates, to implement more efficient reciprocal j root, and hence, j root itself, computations of desired inputs. The invention emphasizes multiplication (114, 116, 118, 120), instead of addition, as the iterative operator, thereby reducing error at a rate relative to a power of a selected convergence rate.
摘要:
An apparatus for calculating the cube root of a number is disclosed. The apparatus has: a first memory for initially storing a cube root extraction number from which the cube root is to be extracted; a second memory for initially storing a first number which is predetermined based on said cube root extraction number; a third memory for initially storing a second predetermined number; a fourth memory for initially storing a third predetermined number; and a fifth memory means for storing a number. The relation in size between the number stored in the first memory and the number stored in the second memory is judged. When the number stored in the first memory is not smaller than the number stored in the second memory, the number stored in the second memory from the number stored stored in the first memory, a number generated from the number stored in the third memory is aded to the number stored in the second memory means, and a fourth predetermined number is added to the number stroed in the fifth memory. When the number stored in the first memory is smaller than the number stored in the second memory, a number generated from the number stored in the fourth memory is subtracted from the number stored in the second memory, and the number stores in the fifth memory is shifted to the left. Until predetermined conditions are met, the above processes are repeated, and the number stored in said fifth memory is determined as the cube root.
摘要:
L'invention a pour objet un procédé et un système utilisant la ''Loi de Lindsley'', algorithme de convergence polynôme, adaptable même aux taux de convergence élevés, pour mettre en application une racine jème inverse plus efficace et, de ce fait, la racine jème elle-même, pour calculer des quantités désirées. L'invention met l'accent sur la multiplication (114, 116, 118, 120) au lieu de l'addition, en tant qu'opérateur itératif, de ce fait réduisant l'erreur à un taux relatif à une puissance d'un taux de convergence sélectionné.
摘要:
A method and apparatus for performing the square root function is described which first comprises approximating the short reciprocal of the square root of the operand. A reciprocal bias adjustment factor is added to the approximation and the result truncated to form a correctly biased short reciprocal. The short reciprocal is then multiplied by a predetermined number of the most significant bits of the operand and the product is appropriately truncated to generate a first root digit value. The multiplication takes place in a multiplier array having a rectangular aspect ratio with the long side having a number of bits essentially as large as the number of bits required for the desired full precision root. The short side of the multiplier array has a number of bits slightly greater by several guard bits than the number of bits required for a single root digit value, which is also determined to be the number of bits in the short reciprocal. The root digit value is squared and the exact square is subtracted from the operand to yield an exact remainder. Succeeding new root digit values are determined by multiplying the short reciprocal by the appropriately shifted current remainder, selectively adding a digit bias adjustment factor and truncating the product. The root digit values are appropriately shifted and accumulated to form a partial root. Succeeding exact remainders are calculated as the difference between the previous remainder and the product of the newly calculated root digit value and the sum of the newly calculated root digit value and twice the previous partial root. The described steps are repeated to serially generate root digit values and partial roots with corresponding new exact remainders. If the corresponding final remainder is negative, the final full precision partial root is decremented and the remainder recalculated, yielding the full precision unique partial root and non-negative remainder pair which compose the exact square root.
摘要:
Division and square root calculations are performed using an operand routing circuit (16) for receiving an operand N, and operand D and a seed value S and directing the operands and seed value to a multiplier (38). Single multiplier (38) is configured into two arrays for calculating partial products of N and S and D and S. The results of multiplier (38) are transmitted through switching circuitry (20) or registers (48)(50) either to operand routing circuitry (16) or adder (44) depending on a convergence algorithm. The final result is rounded.
摘要:
Zur Lösung der Gleichung erfolgt in einem ersten Schritt die Verarbeitung der unabhängigen und abhängigen Veränderlichen x 1 , x,...x n , z zur Bestimmung des Radikanten unter Verwendung digitaler Bausteine eines Rechners durch Ausführen elementarer Rechnungsoperationen und durch Potentieren. In einem weiteren Verfahrensschritt wird ein genäherter Anfangs-Lösungswert für die abhängige Veränderliche z berechnet und in einem Komparator mit dem errechneten Wert des Radikanten verglichen. Durch rekursive Iteration des genäherten Wertes der abhängigen Veränderlichen z in einer auf den Komparator rückgekoppelten Schaltung mit einem Demultiplexer mit einem Zähler, einem Speicher und einem Register sowie einer Ablaufsteuerung erfolgt eine sukzessive Approximation der Gleichung.
摘要翻译:为了实现直接昂格尔跟随在第一步骤中,自变量和因变量x1,X,... X N,Z,用于确定使用计算机的数字模块通过执行基本算术运算,并通过加强被开方的处理。 在另一个方法步骤中,计算因变量z的近似初始解值并在比较器中与基数的计算值进行比较。 通过在反馈到比较器电路与具有计数器,存储器和寄存器,和一个序列的多路分解器因变量z的近似值的递归迭代控制逐次近似式进行。
摘要:
A processor (10) operable to calculate division and square root functions comprises a multiplier (48) having a multiplier array (116), a pipeline register (50), a correction generator (122), and a converter/rounder (52). The products generated by the multiplier array (116) are fed back to the multiplier (48) to avoid delays associated with the remainder of the multiplier circuitry. The correction generator (122) which performs a subtraction of the product output from the multiplier array (116) from a constant, is disposed between the multiplier array (116) and the converter/rounder (52). Hence, the subtraction necessary to compute the next estimate may be performed in parallel with other multiplications, further reducing the time necessary to perform the calculation. Compare circuitry (120) is operable to compare the final approximation with an operand to quickly determine the direction of rounding.
摘要:
Zur Lösung der Gleichung erfolgt in einem ersten Schritt die Verarbeitung der unabhängigen und abhängigen Veränderlichen x 1 , x,...x n , z zur Bestimmung des Radikanten unter Verwendung digitaler Bausteine eines Rechners durch Ausführen elementarer Rechnungsoperationen und durch Potentieren. In einem weiteren Verfahrensschritt wird ein genäherter Anfangs-Lösungswert für die abhängige Veränderliche z berechnet und in einem Komparator mit dem errechneten Wert des Radikanten verglichen. Durch rekursive Iteration des genäherten Wertes der abhängigen Veränderlichen z in einer auf den Komparator rückgekoppelten Schaltung mit einem Demultiplexer mit einem Zähler, einem Speicher und einem Register sowie einer Ablaufsteuerung erfolgt eine sukzessive Approximation der Gleichung.
摘要:
Methods and systems for determining whether an infinitely precise result of a reciprocal square root operation performed on an input floating point number is greater than a particular number in a first floating point precision. The method includes calculating the square of the particular number in a second lower floating point precision; calculating an error in the calculated square due to the second floating point precision; calculating a first delta value in the first floating point precision by calculating the square multiplied by the input floating point number less one; calculating a second delta value by calculating the error multiplied by the input floating point number plus the first delta value; and outputting an indication of whether the infinitely precise result of the reciprocal square root operation is greater than the particular number based on the second delta term. To be accompanied, when published, by FIG. 3 of the accompanying drawings.
摘要:
Systems and methods relate to a division/root computation unit. A lookup table according to a Sweeney, Robertson, and Tocher (SRT) algorithm for a division/root computation is stored in a memory. Information related to a selected column corresponding to a divisor/root estimate is stored in a high-speed memory. Division/root computation is performed iteratively using the cached information to improve access times and reduce latency of accessing the entire lookup table on each iteration. In each iteration, a quotient/root is determined from the cached information based on a current partial remainder, and a next partial remainder is generated based on the quotient/root, the divisor/root estimate, and the current partial remainder.