Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Division operation method and device, storage medium and electronic equipment

An operation method and division technology, applied in computing, electrical digital data processing, instruments, etc., can solve problems such as long operation cycle and large operation resources

Active Publication Date: 2020-07-10
BEIJING XIAOMI PINECONE ELECTRONICS CO LTD
View PDF11 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] It can be seen that the division operation in the related art needs to constantly judge the size of the dividend and the divisor for the subtraction operation, the operation cycle is long, and the operation resources are consumed.

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
  • Division operation method and device, storage medium and electronic equipment
  • Division operation method and device, storage medium and electronic equipment
  • Division operation method and device, storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0068] Specific embodiments of the present disclosure will be described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to illustrate and explain the present disclosure, and are not intended to limit the present disclosure.

[0069] figure 1 is a division operation method shown according to an exemplary embodiment of the present disclosure. refer to figure 1 , the division method includes the following steps:

[0070] Step S101, determine the target constant with the smallest difference with the divisor in the preset look-up table.

[0071] Step S102, calculating the reciprocal of the divisor according to the reciprocal of the target constant, the reciprocal of the square of the target constant, and the difference between the divisor and the target constant.

[0072] Step S103, determining the result of multiplying the reciprocal by the dividend as the result of the division o...

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 invention relates to a division operation method and device, a storage medium and electronic equipment, and aims to reduce calculation resources of division operation. The division operation method comprises the steps: determining a target constant with the smallest difference value with the divisor in a preset lookup table, wherein the preset lookup table stores (N+1) constants obtained by dividing a preset section into N sub- sections, reciprocals corresponding to the (N+1) constants respectively, and reciprocals of squares corresponding to the (N+1) constants respectively, and N is a positive integer greater than 1; calculating the reciprocal of the divisor according to the reciprocal of the target constant, the reciprocal of the square of the target constant and the difference obtained by subtracting the target constant from the divisor; and determining a result of multiplying the reciprocal by the dividend as a division operation result.

Description

technical field [0001] The present disclosure relates to the technical field of digital signal processing, and in particular, to a division operation method, device, storage medium and electronic equipment. Background technique [0002] In the field of digital signal processing technology, most digital signal processing algorithms can be realized by four basic operations of addition, subtraction, multiplication and division. Among them, the division operation is mainly realized in the following ways: [0003] Assuming that the dividend is n bits and the divisor is m bits, first shift the divisor to the left by n-m bits, and then compare the size of the dividend and the divisor: when the dividend is smaller than the divisor, move the dividend to the right and then compare the size with the dividend. When the dividend is greater than or equal to the divisor, subtract the divisor from the dividend, then calculate the result of the subtraction as the new divisor, and add 1 to t...

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
IPC IPC(8): G06F7/487
CPCG06F7/4873
Inventor 许百成
Owner BEIJING XIAOMI PINECONE ELECTRONICS CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products