A method and device for realizing sine and cosine function calculation
A technology of sine and cosine functions and implementation methods, which is applied in the direction of calculation, electrical digital data processing, and digital data processing components, etc., and can solve problems such as floating point errors, operand bit width and iteration number errors, and large errors in calculation results. Achieve the effect of optimizing bit width, reducing the number of bits, and efficient calculation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0053] The present invention will be further described below in conjunction with the accompanying drawings and specific preferred embodiments, but the protection scope of the present invention is not limited thereby.
[0054] Such as figure 1 As shown, the implementation method of the sine and cosine function calculation in this embodiment, the steps include:
[0055] 1) Angle compression: determine whether the input angle is within the specified range, if so, output the input angle as the target calculation angle, otherwise compress the input angle, and output the compressed output angle as the target calculation angle;
[0056] 2) TCORDIC calculation: calculate the angle Z for the target R Use the TCORDIC algorithm to perform the calculation of the sine or cosine function, and when the difference between the target calculation angle and 0 degrees or π / 2 degrees is less than the specified threshold, the calculation of the sine or cosine function is completed through the Tay...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com