Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data operation device and method, electronic equipment and storage medium

A computing device and data technology, applied in the computer field, can solve problems such as efficiently realizing floating-point calculations, and achieve the effect of improving hardware processing efficiency and saving computing resources

Pending Publication Date: 2021-11-09
SHENZHEN INTELLIFUSION TECHNOLOGIES CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of this, the embodiment of the present application provides a data operation device, method, electronic equipment and storage medium to solve the problem of how to accurately and efficiently realize the operation between floating-point numbers in the prior art

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0063] image 3 A schematic diagram of the structure of the first data operation device provided by the embodiment of the present application is shown. The data operation device includes a data acquisition module 31, a data alignment module 32 connected to the data acquisition module, and a target connected to the data alignment module 32. The calculation module 33 and the exponential calculation module 34, and the calculation result output module 35 which is connected to the target calculation module 33 and the exponential calculation module 34 and can obtain the data output by these two modules. in:

[0064] The data acquisition module 31 is configured to acquire data to be operated.

[0065] In the embodiment of the present application, the data acquisition module may acquire the data to be calculated from other modules in the data operation device, or from outside the data operation device. The data to be operated may include floating-point data and / or fixed-point data c...

Embodiment 2

[0134] Figure 11 It shows a schematic flowchart of a data calculation method provided by the embodiment of the present application. The execution subject of the data calculation method may be an electronic device, and the details are as follows:

[0135] In S1101, data to be operated is acquired.

[0136] In S1102, if the data to be operated includes two floating-point data, compare the exponent data of the two floating-point data, determine the larger exponent data as the target exponent data, and generate two data bits aligned target mantissa data; wherein, for the floating-point data with smaller exponent data among the two floating-point data, select the floating-point data according to the difference between the target exponent data and the exponent data of the floating-point data The target number of mantissa data of the mantissa data is high-order data, and the target mantissa data after shifting and alignment of the floating-point data is generated, and the target nu...

Embodiment 3

[0161] Figure 12 It is a schematic diagram of an electronic device provided by an embodiment of the present application. Such as Figure 12 As shown, the electronic device 12 of this embodiment includes: a processor 120, a memory 121, and a computer program 122 stored in the memory 121 and operable on the processor 120, such as a data operation program. The processor 120 includes a data operation device 123. When the processor 120 executes the computer program 122, the data operation device 123 realizes the functions of the modules / units in the above-mentioned device embodiments, for example image 3 The functions of the data acquisition module 31 to the operation result output module 35 are shown. Alternatively, when the processor 120 runs the computer program 122 through the data computing device 123, the steps in the above-mentioned embodiments of the data computing method are implemented, for example Figure 11 Steps S1101 to S1105 are shown.

[0162] Exemplarily, the...

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 is suitable for the technical field of computers, and provides a data operation device and method, electronic equipment and a storage medium, and the data operation device comprises: a data acquisition module, which is used for acquiring to-be-operated data; a data alignment module, which is used for comparing index data of the two pieces of floating point data if the data to be operated comprises the two pieces of floating point data, determining the larger index data as target index data, and generating two pieces of target mantissa data with aligned data bits; a target operation module, which is used for performing target operation on the two pieces of target mantissa data to determine first mantissa result data; an index operation module, which is used for determining first index result data according to the target index data; and an operation result output module, which is used for outputting operation result data, wherein the operation result data comprises first operation result data determined according to the first mantissa result data and the first index result data. According to the embodiment of the invention, operation between floating-point numbers can be accurately and efficiently realized.

Description

technical field [0001] The present application belongs to the field of computer technology, and in particular relates to a data computing device, method, electronic equipment and storage medium. Background technique [0002] Currently, floating-point numbers are widely used due to their ability to flexibly represent a large range of values ​​with relatively few data bits. In the process of calculating floating-point numbers, since the position of the decimal point of different floating-point numbers is not fixed, the calculation between floating-point numbers has certain complexity. Contents of the invention [0003] In view of this, the embodiments of the present application provide a data operation device, method, electronic device, and storage medium to solve the problem of how to accurately and efficiently implement operations between floating-point numbers in the prior art. [0004] The first aspect of the embodiments of the present application provides a data comput...

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 Applications(China)
IPC IPC(8): G06F7/487G06F7/575
CPCG06F7/4876G06F7/575
Inventor 曹庆新李炜
Owner SHENZHEN INTELLIFUSION TECHNOLOGIES CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products