METHOD AND APPARATUS FOR HIGH SPEED DETERMINATION OF J<th> ROOTS AND RECIPROCALS OF J<th> ROOTS

Abstract: 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<th> root, and hence, j<th> 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.

Description: METHOD AND APPARATUS FOR HIGH SPEED DETERMINATION OF Jώ ROOTS AND RECIPROCALS OF Jώ ROOTS Background Of The Invention Initially numeric processors computed division and square root determination utilizing a remainder method. This method was inefficient in comparison with remainderless division and square root determination based upon the Newton-Raphson algorithm or simple cases of convergence algorithms. The Newton-Raphson algorithm is an additive convergence algorithm applied to divide and square root approximations. A unified method of developing convergence algorithms applicable to higher convergence rates has not heretofore been developed. There is a need for formulation of convergence algorithms applicable to higher convergence rates so as to improve efficiency in mathematical computations of j tn roots. Summary Of The Invention This need for improved efficiency in mathematical computations of j tn roots, utilizing a convergence algorithm formulated so as to be applicable to a selected convergence rate, including higher order convergence rates, is substantially met by the present invention. A numeric processor (NP) is set forth that generates convergence polynomials relative to desired convergence rates such that reciprocal j tn roots of inputs may be more efficiently computed. Underlying the concept of the present invention is the following rationale: recognizing that if, for a given input x, x * fj = 1, then f = x" 1 ). If f is represented as a series of factors, for example f = f ι * f2 * f3. then x * (fi * f * h)- - -• and it follows that x * [(fι)J * ( )i * (h)i) = 1 and f i * h * h = x _ 1 / j . Thus, driving x toward 1.0 may occur in multiple steps. In general, f is a function of x. Responsive to input values for a desired j tn root and a desired convergence rate of a selected input value, a NP determines a reciprocal of an approximate such root, in one embodiment obtaining the approximate such root from a read¬ only memory device. After raising the reciprocal of the approximate root to the j tn power and multiplying same by the selected input value to obtain a near unity value, the NP determines a convergence factor relative to the following three values: the desired convergence rate, the desired j th root, and the near unity value. The convergence factor is determined as an approximate solution f j [m](x) of an error equation x * {fj[m](x) }J = 1 - Δ m , where x is a near unity value, j represents a desired j tn root, m is a desired convergence rate, f j [m](x) is an m- 1 th order polynomial in terms of x that when raised to the j tn power and multiplied by x causes an error Δ to decrease by the m tπ power, and Δ is 1 - x. Determination of f j [m](x) is as follows: 1 - Δ is substituted for x in the error equation; f j [m](x) is taken to be f,[m](Δ), where f j [m](Δ) = 1 + AiΔ + A2Δ2+ A 3 Δ3+... Am- l Δ 111 - 1 , having coefficients Ai through and including A m _ ι ; 0 < 1 - Δ < 2; {f j [m](x)}J is expanded and multiplied by (1 - Δ) as indicated; all terms that contain ΔP such that p > m are eliminated, obtaining an equation with coefficients gi through g m of the form 1 + giΔ 1 + g2Δ 2 + g3Δ 3 ... +g m Δ m = 1 - kΔ m ; the coefficients of terms Δ 1 , Δ 2 , Δ 3 ,...,Δ m_ 1 are equated to zero, yielding solutions for the Ai through A m - i coefficients above; (1 - x) is substituted for Δ to obtain the convergence factor fj[m](x) = 1 + Kix + K2X 2 + K3χ3...+K m -ix m~l , having coefficients Ki through and including K m _ ι, where the K i-Km-l coefficients are functions of the Aι-A m -i coefficients. The NP raises the convergence factor to the j 1 * 1 power and multiplies by x to obtain a new value for x. The NP multiplies the approximate reciprocal j th root of the selected input by the convergence factor, determining a new approximation of an approximate reciprocal j th root. The steps of determining a convergence factor through and including determining a new approximation of a reciprocal j tn root of a selected input are iterated until a solution with a desired degree of accuracy is obtained. The repeated iterations drive x toward 1 and the product of the convergence factors toward the reciprocal j th root, i.e., x * {fj[m](x)}J =* 1 and π {f j [m](x)} => It will be obvious to one skilled in the art that the approximate j th root of the selected input may be obtained readily from the approximate reciprocal j tn root, for example, utilizing S-H = (S-l/j)j-l * S or (S-l/J)-l. Brief Description Of The Drawings Figure 1 is a general flow chart of an implementation of the invention incorporating an application of an approximation strategy. Figure 2 is a block diagram of a computer hardware implementation of the invention. Best Mode For Carrying Out The Invention FIG. 1, generally depicted by the numeral 100, illustrates one embodiment of steps executed by a numeric processor (NP) incorporating the present invention. An error equation is expanded and solved through strategic elimination of selective terms, together with assignment of a zero value to appropriate coefficients, providing a convergence factor that is implemented iterahly to determine a reciprocal of a desired root of an input value until a solution with a desired degree of accuracy is obtained. The NP, utilizing at least one electrical signal, provides an input value of S, an input value m reflecting a desired convergence rate, and an input value j reflecting a desired j th root (102). The NP utilizes at least one electrical signal to determine if S = ± ∞, ± 0, or Not-a-Number (NaN) (104). If S = ± o°, ± 0, or NaN, NP utilizes an error check device (106), and stops processing. It is apparent that the order of input data may be varied, it only being necessary that the S value be input prior to the NP's check on whether S = ± ∞, ± 0, or NaN. If S is other than ± «._ ± 0, or NaN, the NP utilizes at least one electrical signal to determine a value b such that b is an approximation to the reciprocal of the j th root of S (108). Then the NP employs at least one electrical signal to determine b to the j* power (110). Next, the NP utilizes at least one electrical signal to determine a value of x such that x = S * hi, wherein 0 < x < 2, x being substantially close to 1.0 (112). The NP then employs at least one electrical signal to manipulate an error equation, x * {f j [m](x)}J = 1 - Δ m , wherein fj[m](x) = 1 + Aix + A2X 2 + A3X 3 ...+ Am-ix 111 " 1 , having coefficients A i through and including A m . ι , and Δ = 1 - x, Δ being error, and achieve a value for f j [m](x), thereafter referred to as d, in the following manner: f j [m](x) is an m-l th polynomial in Δ that is expanded by being raised to the j ώ power and multiplied by (1 - Δ) as indicated to obtain an equation of the form 1 + giΔ 1 + g2Δ 2 + g3Δ 3 ... + g Δ m = 1 - kΔ m , having coefficients gi through and including g m ; the coefficients gi through and including g m - l are equated to zero and all terms that contain ΔP such that p > m are eliminated such that solutions for Ai through and including A m -i are obtained; (1 - x) is substituted for Δ to obtain an equation of the form f j [m](x) = 1 + Kix + K2X 2 + K3X 3 ... + Km-ix 111 " 1 , having coefficients K i through and including K m - i such that the Kι - K m - ι coefficients are functions of the Aι-A m -i coefficients, that is referred to as d and is utilized as a convergence factor (114). The NP employs at least one electrical signal to raise d to the j th power (116), then to determine a new x such that x = x * d) (1 18). Next the NP utilizes at least one electrical signal to determine a new b such that b = b * d (120) and such that b appears as an electrical output signal. The steps of the immediately preceding paragraph are iterated until a solution with a desired degree of accuracy is obtained (122), at which time the NP stops. The degree of accuracy may be determined by how close x is to 1.0, or equivalently, how close Δ is to zero. When j is unknown or fixed, then {f j [m] (x) } J may be expanded using the binomial theorem, utilizing only the first m terms of a series generated by that theorem. For example, for quadratic convergent reciprocal square root, wherein m = 2 and j = 2, the following steps derive f2_2](x) according to the present invention: 1. The error equation is (1 - Δ){f j [m](Δ) }J = 1 - Δ m (l - Δ){f 2 [2](Δ) } 2 - 1 - Δ 2 (1 - Δ)(l + AiΔ) 2 * 1 - Δ2 2. Expand the error equation eliminating terms containing Δ P such that p > 2, obtaining ΔP terms with coefficients related to the A coefficients: (1 - Δ)(l + 2AιΔ + Δ 2 ) - 1 - Δ 2 1 + Δ(2Aι - 1) + Δ 2 (l - 2 Ai ) = 1 - Δ 2 3. Set the coefficient of the Δ term to zero, and solve for Ai: 2Aι - 1 = 0 A i = 1/2 4. Substitute the value obtained for Ai into f2[2](Δ) = 1 + A iΔ, and relate solution to x: f2[2](Δ) = 1 + (1/2)Δ Since x = 1 - Δ, f2_2](x) = 1.5 - 0.5x The algorithm for the reciprocal square root is then: For an input of magnitude S, Initialize: f = l/(S) l / 2 Let x = S * f 2 Let b = f Iterate: d = 1.5 - 0.5x x = x * d 2 b = b * d Terminate: l/(S)i/2 = b The method of the invention, being the first such method known to the inventor to construct a general approach applicable even to solution of higher order roots, is designated "Lindsley's Law." It will be apparent to those skilled in the art that the reciprocal of the j tn root of an input may be utilized to obtain the j tn root of that input. Additionally, it will be apparent to those skilled in the art that if j and m are selected as constants, the polynomial f j [m](x) will be dictated by j and m, and may be determined at a suitable time. The method of the invention may then proceed to utilize the determined polynomial as necessary without redetermination during the implementation of the preselected j and m constants. Further, it will be apparent that error(Δ) decreases by the square for each iteration in quadratic convergence where m = 2, by the cube for each iteration in cubic convergence where m = 3, and so on in this related manner. In an implementation of the present invention in which convergent reciprocal such that j = 1 is desired, an application useful for division algorithms in addition to other uses, it is apparent that non-zero terms of f j [m](x) are approximated to give d = f j [mj(x) = 1 + (l/j)[(l - x)l + (1 - x) 2 + (1 - x) 3 ... + (1 - x)m-l] , with j = 1, that may be simplified to: d = fι [l](x) = 1 d = fι[2](x) = 2 - x d = fι[3](x) = 3 - 3x + x 2 d = fι [4](x) = 4 - 6x + 4x 2 - x 3 d = fι[5](x) = 5 - lOx + 10x 2 - 5x 3 + χ 4 and d = fι [m](x) = 1 + (1 - x)l + (1 - x) 2 + (1 - x) 3 ...+ (1 - x)m- l for different selected convergence rates. In another implementation of the present invention in which convergent reciprocal square root such that j = 2 is desired, an application useful for square root algorithms in addition to other uses, it is apparent that non-zero terms of f j [m](x) are approximated to give d = fj[m](x) = 1 + (1- x) l (l/j) + (1 - x) 2 [(l/j) - (j-D/(2j 2 )] + (1 - x) [(l/j) - (j-D/(2j 2 ) - (H)/(2J 3 )] + (1 - x) 4 [(l/j) - (H)/(2j 2 ) - (j-D/(2j 3 ) - (j-D/(2j 4 )] + ... + (1 - χ)m-l [(i/j) . (j-l)/(2j 2 ) - (j-D/(2j 3 ) — -<J-D/(2jm- l) ] with j = 2, which may be simplified to: d = f 2 [l](x) = 1 d = f 2 [2](x) = 1 + (1 - x)l(l/2) = 1.5 - .5x d = f 2 [3](x) = 1 + (1 - x)l(l/2) + (1 - x) 2 [(l/2) - (1/2 3 )] = 1.875 - 1.25x + .375x 2 d = f 2 [4](x) = 1 + (1 - x)l(l/2) + (1 - x) 2 [(l/2) -(1/2 3 )] + (l - x) 3 [(l/2) - (1/2 3 ) - (1/2 4 )] = 2.1875 - 2.1875x +1.3125x 2 - .3125x 3 d = f [m](x) = 1 + (1- x)l(l/2) + (1 - x) 2 [(l/2) - l/(2 3 )] + (l - x)3 [(l/2) - l/(2 3 ) - 1/(24)] + (1 - x)4[(l/2) - l/(2 3 ) - 1/(24) - 1/(2 5)] + ... + (1 - x - l [(l/2) - l/(2 3 ) - 1/(24) .... 1/(2**)] for different selected convergence rates. It will apparent to one skilled in the art that in a similar manner to that described above, this invention may be implemented by selecting a fixed convergence rate m, and utilizing different selected values for j. In an implementation for quadratic convergence rate, wherein m = 2, fj[2](Δ) = 1 + Δ/j, or equivalently, f j [m](x) = (j + 1 - x)/j, yielding the following quadratic convergence functions for various reciprocal roots: fi[2](x) = 2 - x f2[2](x) = 1.5 - 0.5x f 3 [3](χ) = (4/3) - (l/3)x In an implementation for cubic convergence rates, wherein m = 3, f j [3](Δ) = 1 + (Δ/j) + Δ [l - (j - l)/(2j)]/j, or equivalently, f j [3](x) = (2j 2 + 3j + l)/(2j) 2 - x(2j+l)/j 2 + x 2 (j + 1)/(2J 2 ), yielding the following cubic convergence functions for various reciprocal j th roots: f l [3](x) = 3 - 3x + x 2 f 2 _3](x) = 1.875 - 1.25x + .375x 2 f3[3](x) = (14/9) - (7/9)x + (2/9)x 2 FIG. 2, generally depicted by the numeral 200, illustrates a hardware implementation of the present invention. A computer program for implementation of the present invention may be stored in the program memory ( 204), other memory (212), may be embodied in hardware in the ALU (206), or may be any combination utilizing at least two of the following: program memory, other memory, and hardware in the ALU (204, 212, 206). In one embodiment, the program control unit (202) utilizes the bus (210) to select a program to implement the present invention, and the status register (208) determines whether the selected input value is ± « , ± 0, or NaN. If the input selected input value is ± <*>, ± 0, or NaN, the program control unit stops processing. If the selected input value is other than ± <», ± 0, or NaN, the ALU (206) performs the previously described manipulations of values in application of the determination of an electrical output value for a reciprocal of a desired j tn root of an input value, based on an electrical input value reflecting a desired convergence rate and an electrical input value reflecting a magnitude for a desired j th root. It will again be apparent to one skilled in the art that an electrical output value for an approximation of a j th root of a selected input may be attained by obtaining a reciprocal of the reciprocal of the approximation of the j Λ root of the selected input. In one embodiment, to determine an initial approximation of a reciprocal of a j tn root of a selected input, a read-only memory generates an estimate of same that is stored in 8 bits of binary memory. In another embodiment, an approximation of that reciprocal may be determined from a table of such values that is stored in program memory (204) or other memory (212). In one embodiment the method of the invention allocates data storage and manipulation devices such that the method is executed as described above. What is claimed is:

Claims: 1. A numeric processor for processing electrical signals to determine a reciprocal of a desired j tn root of an input value S other than S = ± <», ± 0, or Not-a-Number (NaN), based on an input value m reflecting a desired convergence rate m and an input value j reflecting a magnitude of j for a desired reciprocal j tn root, comprising: A) first selecting means for applying electrical signals responsive to the input value S to select an input value S other B) second selecting means for applying electrical signals responsive to the input value j to select j; Q third selecting means for applying electrical signals responsive to the input value m to select m; D) first determining means for applying electrical signals responsive to the first selecting means and the second selecting means to determine b such that b is approximately equal to the reciprocal of the j tlx root of S; E) second determining means for applying electrical signals responsive to the second selecting means and the first determining means to determine bJ such that b is raised to the power of j; F) third determining means for applying electrical signals responsive to the first selecting means and the second determining means to determine x such that x = S * bJ; G) fourth determining means for applying electrical signals responsive to the second selecting means, the third selecting means, and the third determining means to determine a convergence factor d such that d is obtained as a solution of an error equation x * {f j [m](x)}J = 1 - Δ m , also expressible as (1 - Δ) * {fj[m](Δ)}J = 1 - A . noting that as f j [m](l - Δ) is a function of Δ, then fj[m](Δ) is also a function of Δ, where: Δ = 1 - x; fj[m](Δ) is an m-l th order polynomial in terms of Δ that when raised to the j tn power and multiplied by (1 - Δ) causes an error Δ to decrease by the m tn power; fj[m](Δ) = 1 + AiΔl + A2Δ 2 + A3Δ 3 ... + A m .ιΔ∞- l ; 0 < 1 - Δ < 2; {f j [m](Δ) }J is expanded and multiplied by (1 - Δ) as indicated; all terms that contain ΔP such that p > m are eliminated, obtaining an equation with coefficients gi through g m of the form 1 + giΔ 1 + g2Δ + g Δ 3 ... +g m Δm = 1 - kΔ m ; the coefficients of terms Δ 1 , Δ 2 , A^,...,A m - 1 are equated to zero yielding solutions for the Ai through A m - i coefficients above; (1 - x) is substituted for Δ to obtain f j [m](x) = 1 + Kix + K 2 X 2 + K3X 3 ...+K m -ix - 1 , where the K's are functions of the A's; such that convergence factor d = f j [m](x); H) fifth determining means for applying electrical signals responsive to the second selecting means and the fourth determining means to determine dJ such that d is raised to the power of j; I ) sixth determining means for applying electrical signals responsive to the third determining means and the fifth determining means to determine a new x such that x = x * dJ; and J) seventh determining means for applying electrical signals responsive to the first determining means and the fourth determining means to determine a new b such that b = b * d and b appears as an output signal. 2. The apparatus of claim 1, further including data manipulation and storage means responsive to the fourth determining means, the fifth determining means and the sixth determining means for iterating determinations G, H, I, and J until a solution with a desired degree of accuracy is obtained. 3. The apparatus of claim 1, wherein the means for selecting an input value S other than S = ± °°, ± 0, or NaN is an error check device. 4. The apparatus of claim 1, wherein the first determining means includes a read-only memory storage unit. 5. The apparatus of claim 1, wherein the fourth determining means comprises: A) first storage and manipulation means for applying electrical signals responsive to the fourth determining means to store and manipulate an error equation (1 - Δ) * {f j [m](Δ)}J = 1 - Δ m such that (1 - Δ) * ( 1 + AiΔ + A2Δ 2 + A3Δ 3 ... + Am-iΔ∞- l ) j = 1 - Δm ; B) second storage and manipulation means for applying electrical signals responsive to the first storage and manipulation means to expand ( 1 + AiΔ + A2Δ 2 + A3Δ 3 ••• + A m .ιΔ m " 1 )J by utilizing the binomial theorem to obtain the following product: ( 1 - Δ) * [ 1 + j(AιΔ + A2Δ 2 + A 3 Δ ...+A m -iΔm-l) + JG-D/2! * (AiΔ + A 2 Δ + A3Δ 3 ... +A m -iΔπι-l) 2 + J(HXJ-2)/3! * (AiΔ + A2Δ + A3Δ 3 ... +A m _ ιΔm- l ) 3 + ...] = 1 - Δm ; and to utilize terms less than or equal to the Δ m term; O third storage and manipulation means for applying electrical signals responsive to the second storage and manipulation means to obtain the product indicated in step B and to disregard terms above Δ m , yielding an equation of the form: 1 + giΔ 1 + g2Δ 2 + g3Δ 3 ... +g m Δ m = 1 - kΔ m where gi, g2» g3.---gm are expressions for the coefficients of the Δ, Δ 2 , Δ 3 ,...Δ m terms; D) fourth storage and manipulation means for applying electrical signals responsive to the third storage and manipulation means to set the coefficients gi through and including g m -i equal to zero and to solve for the coefficients Ai through and including A m -i, yielding an error equation of the form 1 + g m Δ m = 1 - kΔ ra ; E) fifth storage and manipulation means for applying electrical signals responsive to the fourth storage and manipulation means to substitute Ai, A2, A3,...A m - i into the m- l th order polynomial f j [m](Δ) to obtain f j [m](Δ) = 1 + AiΔ + A 2 Δ 2 + A3Δ 3 ...+A m .ιΔm- l and to substitute Δ = 1 - x such that f j [m](x) = 1 + Kix -1- K2X 2 + K 3 x 3 ...+K m .ιχm- 1 where K's are functions of the A's and such that d = f j [m](x), d appearing as an output signal. 6. The apparatus of claim 1, wherein the fourth determining means includes: for convergent reciprocal such that j = 1 is desired, an application useful for division algorithms in addition to other uses, data storage and manipulation means such that non-zero terms of f j [m](x) are approximated to give d = fj[m](x) = 1 + (l/j)[(l - x)l + (1 - x) 2 + (1 - x) 3 ...+ (1 - x)™" 1 ] with j = 1, which may be simplified to: d = fι[l](x) = 1 d = fι [2](x) = 2 - x d = fι [3](x) = 3 - 3x + χ2 d = fι[4](x) = 4 - 6x + 4x 2 - x 3 d = fι[5](x) = 5 - lOx + 10x 2 - 5x 3 + χ d = fι [m](x) = 1 + (1 - x)l + (1 - x) 2 + (1 - x) 3 ...+ (1 - x) 1 "" 1 or different selected convergence rates. 7. The apparatus of claim 1, wherein the fourth determining means includes: for convergent reciprocal square root such that j = 2 is desired, an application useful for square root algorithms in addition to other uses, data storage and manipulation means such that non-zero terms of f j [m](x) are approximated to give d = f j [m](x) = 1 + (1- x) l (l/j) + (1 - x) 2 [(l/j) - (H)/(2j 2 )] + (1 - x) 3 t(l/j) - (H)/(2j 2 ) - (H)/(2J 3 )] + (1 - x) 4 [(l/j) - (H)/(2J 2 ) - (H)/(2J 3 ) - (j-υ/(2j 4 )] + ... + (1 - x)m- l [(l/j) - (H)/(2j 2 ) - α-D/(2j 3 ) *..-(j-l)K2^- -)] with j = 2, which may be simplified to: d = f 2 [l](x) = 1 d = f 2 [2](x) = 1 + (1 - x) l (l/2) = 1.5 - .5x d = f 2 [3](x) = 1 + (1 - x)l(l/2) + (1 - x)2[(l/2) - (1/2 3 )] = 1.875 - 1.25x + .375x2 d = f 2 [4](x) = 1 + (1 - x)l(l/2) + (1 - x)2[(l/2) -(1/2 3 )] + (l - x)S[(l/2) - (1/2 3 ) - (1/2 4 )] = 2.1875 - 2.1875x +1.3125χ2 - ,3125x 3 d = f 2 [m](x) = 1 + (1- x)l(l/2) + (1 - x) 2 [(l/2) - l/(2 3 )] + (l - x)3[(l/2) - l/(2 3 ) - 1/(2 4 )] + (1 - x) 4 [(l/2) - l/(2 3 ) - 1/(24) . ι/(25)] + ... + (l - x)m-l [(l/2) - l/(2 3 ) - 1/(2 4 ) .... 1/(2™)] for different selected convergence rates. 8. The apparatus of claim 1, wherein the fourth determining means includes: for quadratic convergence rate, wherein m = 2, data storage and manipulation means such that non-zero terms of fj[m](x) are approximated to give fj[2](Δ) = 1 + Δ/j, or equivalently, f j [m](x) = (j + 1 - x)/j, yielding the following quadratic convergence functions for various reciprocal roots: f l [2](x) = 2 - x f2[2](x) = 1.5 - 0.5x f3 [3](x) = (4/3) - (l/3)x 9. The apparatus of claim 1, wherein the fourth determining means includes: for cubic convergence rates, wherein m = 3, data storage and manipulation means such that non-zero terms of f j [m](x) are approximated to give f j [3](Δ) = 1 + (Δ/j) + Δ [l - 0 * - l)/(2j)]/j, or equivalently, f j [3](x) = (2J 2 + 3j + l)/(2j)2 - x(2j+l)/j2 + x 2 (j + l)/(2j 2 ), yielding the following cubic convergence functions for various reciprocal j tn roots: f l [3](x) = 3 - 3x + x 2 f 2 [3](x) = 1.875 - 1.25x + .375x 2 f 3 [3](x) = (14/9) - (7/9)x + (2/9)x 2 10. A method for utilizing electrical signals to allocate data storage means and data manipulation means of a computer program stored within a computer storage medium so as to expedite and improve a process of determining a reciprocal of a desired jth root of an input value S other than S = ± ∞, ± 0, or Not-a-Number (NaN), based on an input value m reflecting a desired convergence rate m and an input value j reflecting a magnitude of j for a desired j tn root that substantially determine a convergence factor d, comprising the steps of: A) allocating one or more data and manipulation input devices for selecting and storing an input value S other than S = ± ββ, ± 0, or NaN; B) allocating one or more data input devices for storing a desired value of j; O allocating one or more data input devices for storing a desired value of m; D) allocating one or more data manipulation and storage devices for determining b such that b - reciprocal of the j th root of S; E) allocating one or more data manipulation and storage devices for determining bJ such that b is raised to the power of j; F) allocating one or more data manipulation devices for determining x such that x = S * hi; G) allocating one or more data manipulation and storage devices for determining d such that d = f j [ m ] ( x ) wherein: fj[m](x) =1 + Ai + A2X 2 + A3X 3 ... + Am-ix 01*1 represents a m- l tn polynomial that is an approximate solution of an error equation x * {f j [m](x)} = 1 - Δ m ; Δ = 1- x, where 0 < x < 2; upon substitution of 1 - Δ in place of x, expansion of f j [m](x), now represented as f j [m](Δ), multiplication by (1 - Δ), elimination of all terms that contain ΔP such that p > m to obtain an equation of the form 1 + giΔ 1 + g2Δ 2 + g3Δ 3 ... +g m Δ = 1 - kΔ m where gi, g2, g3,...gm are expressions for the coefficients of the Δ, Δ 2 , Δ 3 ,...Δ m terms, setting the coefficients gi through and including g m .ι equal to zero to obtain solutions for Ai through and including A m - i , substituting (1 - x) in place of Δ to obtain and equation of the form f j [m](x) = 1 + Kix + K 2 x 2 + K 3 x 3 ...+K m .ιχm-1, such that convergence factor d = f j [m](x); H) allocating one or more data input and manipulation devices for determining di such that d is raised to the power of j; I ) allocating one or more data input and manipulation devices for determining a new x such that x = x * di; and J) allocating one or more data input and manipulation devices for determining a new b such that b = b * d that appears as an output electrical signal. 1 1. The method of claim 8, further including data manipulation and storage devices for iterating steps G, H, I and J until a solution with a desired degree of accuracy is obtained as an electrical output signal. 12. An improvement in digital signal processing methods for improving allocation of resources among a plurality of data input, data storage and data manipulation devices so as to achieve greater efficiency in determining a reciprocal j tn root approximation of an input value S other than S = ± «, ± 0, or NaN, utilizing a desired convergence rate m which includes the steps of: A) allocating at least one data storage and manipulation device for selection and storage of an input value other than ± ∞, ± 0, or NaN ; B) allocating at least one data storage and manipulation device for a second input value equal to a desired value of j; C) allocating at least one data storage and manipulation device for a third input value equal to a desired value of m; D) allocating at least one data storage and manipulation device for determining b such that b = a reciprocal of a j tn root of the selected iπuut value; E) utilizing an approximate solution of an error equation x * {f j [m](x)} = 1 - Δ m , wherein: x = S * bJ; f j [m](x) =1 + Aix + A2 2 + A3X 3 ... + Am-ix 01*1 represents a m- i tn polynomial that is an approximate solution of the error equation; the fj[m](x) polynomial is converted to an m-lth polynomial in Δ, f j [m](Δ), utilizing substitution of x = 1 - Δ, where 0 < x < 2; such that a convergence factor d = f j [m](x) is determined; F) utilizing the convergence factor d to obtain a new x such that x = x * di- G) utilizing the convergence factor d to obtain a new b such that b = b * d; and H) iterating steps E, F, and G until a solution with a desired degree of accuracy is obtained. 13. A system for maximizing time and resource efficiency of a computation process, for use with a digital computer in accordance with a strategy utilizing an approximation process, said system comprising: A) process control devices for controlling the computation process in response to control signal sets; B) a plurality of sensors for sensing inputs affecting operation of the computation process; O a controller responsive to said sensors and process control devices for providing a more efficient process, said controller including means: for manipulating an input value S such that S ≠ ± «», ± 0, or Not-a-Number, an input value j reflecting a magnitude of j for a desired j tn root of the input value S, and an input value m reflecting a desired convergence rate, in accordance with an error equation x * {fj[m](x)}J = 1 - Δ™ alternatively considered as (1 - Δ) * {fj[m](Δ)} = 1 - Δm wherein Δ = 1 - x, f j [m](x) is an m-l* polynomial in x expressible as 1 + Ai + A2X 2 + A3X 3 ... + Am-ix 111 - 1 , that is converted to fj[m](Δ), an m-l th polynomial inΔ, expressible as 1 + A1Δ 1 + A2Δ 2 + A3Δ 3 ... + Am-iΔ 111 - 1 , such that upon expanding and multiplying as indicated, obtaining an equation containing one plus various powers of Δ that possess coefficients, an approximation strategy is employed in which terms containing ΔP such that p > m are eliminated and coefficients of terms containing Δ n such that n < m are set to zero, allowing expression of f j [m](x) in the form of 1 + Kix + K2X 2 + K3X 3 ... + Km-ix 01*1 where the values of the K's are specifiable for selected desired inputs, to obtain a convergence factor d = f j [m](x) that is utilized to compute a new x = x * di and a new b = b * d, including means for iteration of computation of d, x and b so as to achieve time and resource efficient utilization within said digital computer system.

Inventors: LINDSLEY BRETT LOUIS, LINDSLEY, BRETT, LOUIS
Applicants: MOTOROLA INC, MOTOROLA, INC.
Application year: 1990
Main classification: G06F7
IPC codes: G06F7