发明名称 |
Fast correctly-rounding floating-point conversion |
摘要 |
A system and method for converting bases of floating point numbers using fixed-point computation includes tables having different related spacings of exponent indices. The tables are adapted to cross-reference conversion ratios between exponent bases. The tables are characterized by bi-uniform spacings of source and target exponents and including near-unity table entries representing the conversion ratios. A source number is converted into a target number in a different radix by a sequence of reduction operations using a sequence of the tables. The reduction operations include reducing a source number exponent magnitude and accumulating a target exponent and multiplying a source number mantissa by a selected conversion ratio including a near-unity ratio of powers. A final mantissa is normalized and rounded to produce the target number in a new radix.
|
申请公布号 |
US7921144(B2) |
申请公布日期 |
2011.04.05 |
申请号 |
US20070746693 |
申请日期 |
2007.05.10 |
申请人 |
INTERNATIONAL BUSINESS MACHINES CORPORATION |
发明人 |
HACK MICHEL HENRI THEODORE |
分类号 |
G06F5/00 |
主分类号 |
G06F5/00 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|