发明名称 |
Apparatus and method for converting data between a floating-point number and an integer |
摘要 |
An apparatus and method for converting data between a floating-point number and an integer is provided. The apparatus includes a data converter configured to determine a sign of input binary data and an output format to which to convert the input binary data and convert the input binary data into a one's complement number based on the sign and the output format of the input binary data, a bias value generator configured to determine whether the input binary data has been rounded up based on a rounding mode of the input binary data and generate a bias value accordingly; and an adder configured to convert the input binary data into a two's complement number by adding the one's complement number and the bias value. |
申请公布号 |
US8874630(B2) |
申请公布日期 |
2014.10.28 |
申请号 |
US201113101356 |
申请日期 |
2011.05.05 |
申请人 |
Samsung Electronics Co., Ltd.;Industry-Academic Cooperation Foundation, Yonsei University |
发明人 |
Yu Hyeong-Seok;Kim Suk-Jin;Park Sang-Su;Lee Yong-Surk |
分类号 |
G06F7/00;G06F7/483;H03M7/24 |
主分类号 |
G06F7/00 |
代理机构 |
NSIP Law |
代理人 |
NSIP Law |
主权项 |
1. An apparatus for converting data between a floating-point number and an integer, comprising:
a data converter configured to determine a sign of input binary data and an output format to which to convert the input binary data and convert the input binary data into a one's complement number based on the sign and the output format of the input binary data; a bias value generator configured to determine whether the input binary data has been rounded up based on a rounding mode of the input binary data and generate a bias value accordingly; and an adder configured to convert the input binary data into a two's complement number by adding the one's complement number and the bias value. |
地址 |
Suwon-si KR |