Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
FLOATING-POINT DATA PRECISION CONVERSION METHOD AND APPARATUS
Document Type and Number:
WIPO Patent Application WO/2024/082674
Kind Code:
A1
Abstract:
The embodiments of the present application relate to the technical field of chips. Provided are a floating-point data precision conversion method and apparatus, which improve the invariance of the overall mean value when high-precision data is converted into low-precision data. The specific solution is: according to a first code value of a first exponential domain, determining a first bit width of a prefix code domain, a first code value of the prefix code domain, a first bit width of a second exponential domain, a first code value of the second exponential domain and a first bit width of a second mantissa domain; determining a reserved code value and a discarded code value in the first mantissa domain, wherein the reserved code value comprises a code value which starts from the highest bit in the first mantissa domain and the bit width of which is the same as the first bit width of the second mantissa domain; and performing a round operation on the reserved code value according to the discarded code value, so as to obtain a first code value of the second mantissa domain. The embodiments of the present application are applied to the process of converting high-precision data into low-precision data.

Inventors:
LUO YUANYONG (CN)
CHEN MINQI (CN)
ZHANG ZHONGXING (CN)
WU WEI HSIANG (CN)
Application Number:
PCT/CN2023/102089
Publication Date:
April 25, 2024
Filing Date:
June 25, 2023
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
HUAWEI TECH CO LTD (CN)
International Classes:
G06F7/483
Foreign References:
CN111340207A2020-06-26
CN104778026A2015-07-15
US20130282780A12013-10-24
Attorney, Agent or Firm:
BEIJING ZBSD PATENT & TRADEMARK AGENT LTD. (CN)
Download PDF: