发明名称 FLOATING POINT SQUARE ROOT AND RECIPROCAL SQUARE ROOT COMPUTATION UNIT IN A PROCESSOR
摘要 A method of computing a square root or a reciprocal square root of a number in a computing device uses a piece-wise quadratic approximation of the number. The square root computation uses the piece-wise quadratic approximation in the form: squareroot(X) = <o>A</o>ix<2> + <o>B</o>ix + <o>C</o>i, in each interval i. The reciprocal square root computation uses the piece-wise quadratic approximation in the form: 1/squareroot(X)= Aix<2> + Bix + Ci, in each interval i. The coefficients Ai, Bi, and Ci, and Ai, Bi and Ci are derived for the square root operation and for the reciprocal square root operation to reduce the least mean square error using a least squares approximation of a plurality of equally-spaced points within an interval. In one embodiment, 256 equally-spaced intervals are defined to represent the 23 bits of the mantissa. The coefficients are stored in a storage and accessed during execution of the square root or reciprocal square root computation instruction.
申请公布号 WO0045254(A9) 申请公布日期 2001.09.07
申请号 WO2000US01896 申请日期 2000.01.24
申请人 SUN MICROSYSTEMS, INC. 发明人 SHANKAR, RAVI;SUDHARSANAN, SUBRAMANIA, I.
分类号 G06F7/552;G06F9/302;(IPC1-7):G06F7/552 主分类号 G06F7/552
代理机构 代理人
主权项
地址