A 64-bit fixed-point trigonometric function operation method of an ARM processor
By employing 64-bit fixed-point arithmetic in ARM processors, utilizing fixed-point addition, subtraction, multiplication, and division, along with trigonometric function tables, the problem of low floating-point performance in ARM processors was solved, achieving a high-efficiency performance improvement in high-precision trigonometric function operations.
CN116304505BActive Publication Date: 2026-05-29INST OF INTELLIGENT MFG GUANGDONG ACAD OF SCI
Patent Information
- Authority / Receiving Office
- CN Β· China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- INST OF INTELLIGENT MFG GUANGDONG ACAD OF SCI
- Filing Date
- 2022-12-01
- Publication Date
- 2026-05-29
Smart Images

Figure CN116304505B_ABST
Abstract
The application discloses a 64-bit fixed-point trigonometric function operation method of an ARM processor, which comprises the following steps: firstly, defining a 64-bit fixed-point number and a data type conversion mechanism; defining a sin trigonometric function table based on a 32-bit fixed-point number and storing the table in the form of integer data; secondly, converting a floating-point number to be operated into a 64-bit fixed-point number, performing a modulus operation on the 64-bit fixed-point number and a 64-bit fixed-point number form of Ο / 2, obtaining a trigonometric function variable, representing the variable in the form of integer data, and then incrementally searching a table to obtain a sin value of the converted 32-bit fixed-point number in the sin trigonometric function table; using the 64-bit fixed-point number to represent and using linear interpolation to compensate the value of the lower 16 bits of the decimal point, so as to obtain a sin value corresponding to the 64-bit fixed-point number; and finally, according to the sin value, using a trigonometric function transformation formula to calculate the values of trigonometric functions cos and tan. The operation method can realize high-precision decimal trigonometric function operation with high operation speed in the ARM processor.
Need to check novelty before this filing date? Find Prior Art
Citation Information
Patent Citations
Method for improving precision of volume holographic correlator by image pretreatment
CN101013577A
Fixed point processor and anti-overflow method thereof
CN104166535A