Method of fast arctangent calculation pre and post processing
AssigneeGM Global Technology Operations LLC
InventorRay M. Ransom
Life of this patent
Estimating the term…
Loading patent…
AssigneeGM Global Technology Operations LLC
InventorRay M. Ransom
Estimating the term…
A method of calculating an arctangent includes coding a sign for a y-value an x-value into a 3-bit index. When the absolute value of the x-value is greater than the absolute value of the y-value, the absolute values of the x-value and the y-value are swapped, and a swap bit of the index is coded to indicate that the x-value and the y-value were swapped. The arctangent is calculated from the quotient of the swapped x-value divided by the swapped y-value. A segment base angle is extracted from a table, based on the coded x-bit, y-bit, and swap bit of the index. An encoded sign is extracted from the segment base angle and is applied to the calculated arctangent output value to define a corrected arctangent value. The segment base angle is added to the corrected arctangent value to define the arctangent of the point.
A method of calculating an arctangent for a point located on a plane by a y-value and an x-value of a Cartesian coordinate system, the method comprising:
The method as set forth in claim 11 wherein the x-bit, the y-bit, and the swap bit are coded into a second bit, a third bit, and a fourth bit of the index, respectively.
A method of calculating an arctangent for a point located on a plane by an x-value and a y-value of a Cartesian coordinate system, the method comprising:
Dependencies are inferred from the claim text.