Data processing method and device, equipment and medium
The invention provides a data processing method and device, a chip, equipment and a medium, and relates to the technical field of computers, in particular to the technical field of chips. According to the implementation scheme, the method comprises the steps of obtaining a first input value of binar...
Saved in:
Main Authors | , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
07.04.2023
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention provides a data processing method and device, a chip, equipment and a medium, and relates to the technical field of computers, in particular to the technical field of chips. According to the implementation scheme, the method comprises the steps of obtaining a first input value of binary representation in response to a received first random rounding processing request; dividing the first input value to obtain a first low-bit mantissa part of a preset bit at the lowest bit; obtaining a first random number of the preset digit number represented by a binary system; on the basis of the relative size relationship between the first random number and the first low-order mantissa part, performing replacement operation on the low-order mantissa part; and performing rounding processing on the low-order mantissa part of the replaced first input value to obtain a first rounding processing result.
本公开提供了一种数据处理方法及装置、芯片、设备和介质,涉及计算机技术领域,尤其涉及芯片技术领域。实现方案为:响应于接收到第一随机舍入处理请求,获取二进制表示的第一输入值;对所述第一输入值进行划分,得到最低位的预设位数的第一低位 |
---|---|
Bibliography: | Application Number: CN202211339111 |