CNIPA.AI
返回搜索
档案

Floating-Point Data Precision Conversion Method and Apparatus

发明专利审中
2浏览
20权利要求 · 3 独立
§ Ⅰ

卷宗概要

发明人

Wei Hsiang Wu; Yuanyong Luo; Minqi Chen; Zhongxing Zhang

IPC 分类

G6F 7/483G6F 7/499H3M 7/24

CPC 分类

G6F7/483G6F7/49947H3M7/24

A floating-point data precision conversion method includes determining a bit width of a second mantissa field based on a coded value of a first exponent field. The floating-point data precision method further includes determining a reserved coded value and a discarded coded value in a first mantissa field. The floating-point data precision method further includes, if the coded value of the first exponent field is greater than or equal to a first preset threshold, performing a rounding operation on the reserved coded value based on a coded value that starts from a most significant bit and whose bit width is a preset bit width in the discarded coded value, to obtain a coded value of the second mantissa field.

原文(中文)

A floating-point data precision conversion method includes determining a bit width of a second mantissa field based on a coded value of a first exponent field. The floating-point data precision method further includes determining a reserved coded value and a discarded coded value in a first mantissa field. The floating-point data precision method further includes, if the coded value of the first exponent field is greater than or equal to a first preset threshold, performing a rounding operation on the reserved coded value based on a coded value that starts from a most significant bit and whose bit width is a preset bit width in the discarded coded value, to obtain a coded value of the second mantissa field.