Patent ReferencesDevice and method for evaluating exponentials Circuit and method for performing integer power operations Patent #: 5195052 InventorsApplicationNo. 847645 filed on 04/30/1997US Classes:708/606, Evaluation of powers708/512Logarithmic formatExaminersPrimary: Mai, Tan V.International ClassG06F 007/38AbstractA novel system and method computes a floating point value of an exponential expression in the form of "ax " in a geometry accelerator. In accordance with one aspect of the invention, the method includes the steps of receiving the values "a" and x of the exponential expression, where both "a" and x are represented in floating point format. As will be appreciated by those skilled in the art, the values will by supplied by software through an appropriate graphics application program interface (API). The method utilizes a mantissa value of the floating point representation of "a" to index a first value in a first look-up table, the value being an approximation for log2(a). Then, the method multiplies the looked-up value by the value of x to obtain an intermediate result. This intermediate result is then partitioned into a fractional component and an integer component, wherein the fractional component is normalized/converted to floating point format. The method then utilizes a mantissa value of the floating point representation of the fractional component of the intermediate result to index a first value in a second look-up table, the value being an approximation for 2fract, where fract is the fractional component. Thereafter, the method computing 2integer, where integer is the integer component. This step may be directly computed by the math core of the geometry accelerator, since it is an integer exponent. Finally, the method multiplies the results of steps that compute the 2fract and 2integer values to obtain a final value. This final value is a close approximation of the exponential expression ax. | |