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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
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