Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and system for double-precision floating-point square root operation

A double-precision, floating-point technology, applied in computing, instrumentation, electrical digital data processing, etc., can solve the problems of complex logic, increased number of iterations, and the inability to apply double-precision floating-point numbers to the definition domain of the number to be extracted. Improve computing efficiency, solve error amplification, and enhance practicability

Active Publication Date: 2021-12-17
BEIJING SATELLITE INFORMATION ENG RES INST
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Usually due to the complex implementation logic and large resource usage, the SRT-redundant algorithm and non-redundant algorithm are not suitable in practice, and the Newton iteration method and CORDIC algorithm are most used
[0004] In the literature "Single Precision Floating-Point Number Square Root Algorithm Design and FPGA Implementation", the square root mean value theorem algorithm is used to complete the fixed-point number square root operation of the mantissa part. This algorithm is clear in principle and easy to implement, but its iterations increase with The bit width of the fixed-point number to be squared increases exponentially, and its maximum realized bit width is 16 bits, which is difficult to meet the square root requirements of double-precision floating-point numbers
The literature "Research and Design of CORDIC Algorithm Based on Floating-Point Numbers" uses the CORDIC algorithm, and the design content includes not only the square root operation, but also other trigonometric functions and some linear operations, but its design is based on single-precision floating-point numbers. When it reaches double precision, its operation rate and resource consumption will increase significantly
However, the document "Study on Solving Square Root Based on CORDIC Algorithm and FPGA Implementation" only describes a method for realizing the square root of a fixed-point number, and the definition domain of the number to be rooted cannot be applied to double-precision floating-point numbers.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for double-precision floating-point square root operation
  • Method and system for double-precision floating-point square root operation
  • Method and system for double-precision floating-point square root operation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.

[0037] figure 1 Provided the flow chart of the square extraction operation of the double-precision floating-point number of the present invention. First, the 64-bit double-precision floating-point number is decomposed into a sign bit, an order and a mantissa, and the sign bit and the order respectively judge the positive and negative values ​​and At the same time, the mantissa is shifted according to the parity of the exponent code, and the sign bit and the exponent code after the operation are stored in the RAM; then, the mantissa part of the number to be extracted is input into the fixed-point square root module, through The CORDIC algorithm performs square root calculation on the amplified 106-bit fixed-point number. In this method, the value of correction coefficient K is processed by shift operation in FPGA, and the auxiliary parameter CO...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention relates to a method and system for double-precision floating-point square root operation, comprising: step 1, decomposing a 64-bit double-precision floating-point number into a sign bit, an order and a mantissa, and judging the positive or negative of the number to be rooted based on the sign bit Value, judge the order code parity of the number to be extracted based on the order, shift the mantissa according to the order code parity, and store the sign bit and the calculated order code in RAM; Step 2, put the number to be extracted The mantissa part is input into the square root module, and the amplified 106-bit fixed-point number is subjected to the square root calculation through the CORDIC algorithm, and the correction coefficient K value is processed in the FPGA through a shift operation, and the auxiliary parameter COMPLE is calculated according to the mantissa size. At the same time, in the 106-bit In the fixed-point arithmetic operation of , repeat iterations are performed during part of the iterative operation (i, 3i+1 times); step 3, the arithmetic square root of the output mantissa, after isolating the special value, is combined with the sign bit and the exponent code in the RAM, Complete the square root operation of the double-precision floating-point number. Through the present invention, the computing efficiency can be greatly improved.

Description

technical field [0001] The invention belongs to the application field of digital signal processing, and relates to an algorithm of square root operation of a double-precision floating-point number and a realization method thereof. Background technique [0002] In modern digital signal processing, addition, subtraction, multiplication and division are the most frequently used operations. Although the square root operation is not as widely used as the above-mentioned operations, as a basic mathematical operation, it still has important applications in engineering practice, such as trigonometry, quadratic equation solving, numerical analysis, probability statistics, image processing In other fields, there are many different algorithms for square root calculation, for example, Newton iterative method, SRT-redundant algorithm, non-redundant algorithm, CORDIC algorithm, etc. After analysis, this design adopts the algorithm of Coordinate Rotation Digital Computer (CORDIC), which i...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F7/483
CPCG06F7/483
Inventor 刘盛典刘鹏任婵婵祝娇娇陈静
Owner BEIJING SATELLITE INFORMATION ENG RES INST