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

Method and device for processing floating point numbers

A processing method and floating-point number technology, applied in the computer field, can solve problems such as lack of double-precision floating-point number computing capability, poor double-precision floating-point number computing capability, etc.

Active Publication Date: 2017-12-08
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, due to cost and market segmentation considerations, GPU manufacturers will retain double-precision floating-point hardware computing units on high-end GPU products, and reduce double-precision floating-point hardware computing units on mid- and low-end GPU products. Low-end and mid-end GPU products have poor double-precision floating-point calculation capabilities, or even do not have double-precision floating-point calculation capabilities.

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 device for processing floating point numbers
  • Method and device for processing floating point numbers

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0070] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0071] In order to solve the problems in the prior art, an embodiment of the present invention provides a floating-point number processing method and device. A floating-point number processing method provided by an embodiment of the present invention is firstly introduced below.

[0072] figure 1 A schematic flowchart of a floating-point number processing method provided by an embodiment of the present invention may include:

[0073] S101: Obtain the first target...

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

Embodiments of the invention disclose a method and a device for processing floating-point numbers. The method comprises: obtaining a first target floating-point number X and a second target floating-point number Y; obtaining an operation rule of the X and the Y; under the condition that the X and the Y are not zero, performing exponent matching on the X and the Y; calculating the exponent of a final result; respectively segmenting the mantissas of the X and the Y whose exponents are matched, and respectively calculating results of each segment data of the mantissa of the X and each segment data of the mantissa of the Y; according to calculation result, generating a final mantissa; according to the final mantissa and the exponent obtained by calculation, generating a calculation result; and performing normalizing processing on the calculation result, to obtain a final calculation result. Using the method, the mantissa of a floating-point number with high precision is segmented, and each segment of mantissa is converted to the floating-point number with single precision to calculate, so that lower-end CPU products which do not have double-precision floating-point number computing power have high-precision floating-point number computing power, and computing power of the lower-end CPU products on the high-precision floating-point number is improved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a floating-point number processing method and device. Background technique [0002] GPU (Graphics Processing Unit, graphics processing unit), also known as graphics processing unit, display core, visual processor, display chip, is a kind of graphics processing unit specially used in personal computers, workstations, game consoles and some mobile devices (such as tablet computers, smart phones) etc.) Microprocessors that work on image operations. [0003] At present, the floating-point number calculation performance of the GPU is much higher than that of the CPU, so the GPU is also mainly used for floating-point number calculations. [0004] However, due to cost and market segmentation considerations, GPU manufacturers will retain double-precision floating-point hardware computing units on high-end GPU products, and reduce double-precision floating-point hardware computing unit...

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/57
Inventor 潘昊
Owner BEIJING QIYI CENTURY SCI & TECH 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