首页>
外国专利>
System and table-based method for converting binary floating- point numbers to a decimal representation
System and table-based method for converting binary floating- point numbers to a decimal representation
展开▼
机译:用于将二进制浮点数转换为十进制表示形式的基于系统和表的方法
展开▼
页面导航
摘要
著录项
相似文献
摘要
An improved system for converting a binary floating-point number to a decimal representation within a table-based computer is disclosed. In accordance with a preferred embodiment of the present invention, a computer system is provided which includes a first table and a second table. Both of the tables have several entry locations, and each of these entry locations contains a number. The computer system also has an extraction routine for extracting a first index into the first table from a binary floating-point number, an acquiring routine for obtaining a second index into the second table from the number contained within an entry location of the first table referenced by the first index, and an identifying routine for identifying a selected entry location of the second table. Such identification can be performed either by utilizing the second index or by utilizing a decremented second index when a number contained within an initial entry location of the second table referenced by the second index is greater than the binary floating-point number. In addition, the computer system also includes a display for displaying a most significant digit of a number contained within the selected entry location of the second table. Finally, the computer system includes a subtraction routine for subtracting the number contained within the selected entry location of the second table from the binary floating- point number, and a detection routine for detecting whether the binary floating-point number is equal to zero.
展开▼