摘要:
A data processing apparatus has floating-point add circuitry for performing a floating-point add operation for adding or subtracting two floating-point operands. The apparatus also has reciprocal estimation circuitry for performing a reciprocal estimation operation on a first operand to generate a reciprocal estimate value which represents an estimate of a reciprocal of a first operand or an estimate or a reciprocal of the square root of the first operand. The reciprocal estimation circuitry is physically distinct from the floating-point adder circuitry, which allows both the reciprocal estimate and the add operations to be faster.
摘要:
A computer-implemented method for executing a floating-point calculation where an exact value of an associated result cannot be expressed as a floating-point value is disclosed. The method involves: generating an estimate of the associated result and storing the estimate in memory; calculating an amount of error for the estimate; determining whether the amount of error is less than or equal to a threshold of error for the associated result; and if the amount of error is less than or equal to the threshold of error, then concluding that the estimate of the associated result is a correctly rounded result of the floating-point calculation; or if the amount of error is greater than the threshold of error, then testing whether the floating-point calculation constitutes an exception case.
摘要:
An integer division circuit with allowable error is described, what a signal processing apparatus includes a pointer, a first left shifter, a second left shifter, a subtractor, a multiplier, and a right shifter. The pointer searches for a most significant non-zero bit of a divisor and outputs a most significant byte value. The first left shifter performs a shift operation according to the most significant byte value, so as to generate a first exponential coefficient. The second left shifter performs a shift operation according to the most significant byte value, so as to generate a second exponential coefficient. The subtractor calculates a multiplier factor according to the divisor, the first exponential coefficient, and the second exponential coefficient and outputs the multiplier factor to the multiplier. The multiplier multiplies an input value with the multiplier factor and outputs a result to the right shifter. The right shifter outputs a calculation result.
摘要:
A division method includes determining a precision indicator for the division operation that indicates whether the quotient should be a single precision, double precision, or extended precision floating-point number. The division is performed at a rectangular multiplier using the Goldschmidt or Newton-Raphson algorithm. Each algorithm calculates one or more intermediate values in order to determine the quotient. For example, the Goldschmidt algorithm calculates a complement of a product of the dividend and an estimate of the reciprocal of the divisor. The quotient is determined based on a portion of one or more of these intermediate values. Because only a portion of the intermediate value is used, the division can be performed efficiently at the rectangular multiplier, and therefore the quotient can be determined more quickly and still achieve the desired level of precision.
摘要:
A division unit, an image analysis unit and a display apparatus using the same capable of simplifying the computation of overall average gray scale are provided. The division unit includes an adder for receiving a first to an Nth bus signals to produce an addition result, wherein the first to the Nth bus signals shift the input signal by a different number of bits and adding logic zeros to the shifted bits as compensation, where N is a positive whole number, and a multiplexer for receiving a most significant bit (MSB) of the addition result, wherein, when the MSB has a first value, the multiplexer treats P bits of the addition result as a division result, and when the MSB has a second value, the multiplexer outputs P logic 1 to serve as the division result, where P is a positive whole number.
摘要:
Methods for determining the square root, reciprocal square root, or reciprocal of a number performed by a processor of a computer system. The methods produce high precision estimates without using iterative steps. In addition, the methods taught herein utilize compressed tables for the coefficient terms A, B, and C from the quadratic expression Ax2+Bx+C, thus minimizing hardware requirements.
摘要翻译:用于确定由计算机系统的处理器执行的数字的平方根,倒数平方根或倒数的方法。 该方法在不使用迭代步骤的情况下产生高精度估计。 另外,本文教导的方法利用来自二次表达式Ax 2 + B x + C的系数项A,B和C的压缩表,从而最小化硬件要求。
摘要:
Methods, apparatus, and articles of manufacture for determining quotient values are disclosed. An example method identifies a reciprocal value of a divisor value. A bias value is then identified and a biased quotient value is determined based on a dividend value, the reciprocal value, and at least a portion of the bias value. A quotient value is then determined based on the biased quotient value.
摘要:
A fractional arithmetic unit for performing fractional arithmetic operations of different numerators and a common denominator with different precisions as required, the fractional arithmetic unit, including a reciprocal number arithmetic logic unit; and a multiply arithmetic circuit configured to multiply a numerator and a reciprocal number of the denominator as obtained by the reciprocal number arithmetic logic unit. A precision of a calculation performed by the reciprocal number arithmetic logic unit is changed in accordance with a precision as required for each of the fractional arithmetic operations. The multiply arithmetic circuit outputs a result of multiplication as a result of the fractional arithmetic operation, and the results of the fractional arithmetic operations are output with different precisions.
摘要:
A computer implemented method for generating a quotient. The method is exclusive of division operations. The method includes a first step of generating, in response to a first instruction, a first delta by performing an operation between a denominator and a first value. A second step of generating, in response to a second instruction, a second delta by performing an operation between the denominator and the first delta. A third step of generating, in response to the second instruction, a third delta by performing an operation between the second delta and the denominator. A fourth step of joining, in response to a fourth instruction, the third delta to the first delta. Repeating the first through fourth steps until the first delta is equal to a predetermined value. Generating the quotient, in response to a fifth instruction, by performing an operation between the first delta and a numerator.