发明名称 |
System and method for improving the accuracy of reciprocal square root operations performed by a floating-point unit |
摘要 |
The accuracy of approximating the reciprocal and the reciprocal square root of a number (N) is improved. Approximating the reciprocal of N includes: (a) estimating the reciprocal of N to produce an estimate (X<SUB>i</SUB>); (b) determining a first intermediate result (IR1) according to the equation: IR1=1-N*X<SUB>i</SUB>; (c) multiplying IR1 by X<SUB>i </SUB>to produce a second intermediate result (IR2); and (d) adding X<SUB>i </SUB>to IR2 to produce an approximation of the reciprocal of N. Approximating the reciprocal square root includes: (a) estimating the reciprocal square root of N to produce X<SUB>i</SUB>; (b) multiplying X<SUB>i </SUB>by N to produce IR1; (c) determining IR2 according to the equation: IR2=(1-X<SUB>i</SUB>*IR1)/2; (d) multiplying IR2 by X<SUB>i </SUB>to produce a third intermediate result (IR3); and (e) adding IR3 to X<SUB>i </SUB>to produce an approximation of the reciprocal square root of the number.
|
申请公布号 |
US6912559(B1) |
申请公布日期 |
2005.06.28 |
申请号 |
US19990363637 |
申请日期 |
1999.07.30 |
申请人 |
MIPS TECHNOLOGIES, INC. |
发明人 |
HO YING-WAI;SCHULTE MICHAEL J.;KELLEY JOHN L. |
分类号 |
G06F7/38;G06F7/487;(IPC1-7):G06F7/38;G06F5/552 |
主分类号 |
G06F7/38 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|