首页> 外国专利> 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.
机译:公开了一种用于在基于表的计算机内将二进制浮点数转换为十进制表示的改进系统。根据本发明的优选实施例,提供了一种计算机系统,其包括第一表和第二表。这两个表都有几个输入位置,每个输入位置都包含一个数字。该计算机系统还具有用于从二进制浮点数中提取第一索引到第一表中的提取例程,以及用于从所引用的第一表的入口位置中包含的数中获取第二表中的第二索引的获取例程。通过第一索引,以及用于识别第二表的所选条目位置的识别例程。当包含在由第二索引引用的第二表的初始条目位置内的数字大于二进制浮点数时,可以通过利用第二索引或者通过利用递减的第二索引来执行这种识别。另外,计算机系统还包括显示器,用于显示第二表的选定输入位置内所包含的数字的最高有效位。最后,该计算机系统包括用于从二进制浮点数减去第二表的所选条目位置内所包含的数字的减法例程,以及用于检测二进制浮点数是否等于零的检测例程。

著录项

  • 公开/公告号US5796641A

    专利类型

  • 公开/公告日1998-08-18

    原文格式PDF

  • 申请/专利权人 INTERNATIONAL BUSINESS MACHINES CORPORATION;

    申请/专利号US19960650204

  • 发明设计人 NENGKUAN TU;

    申请日1996-05-20

  • 分类号G06F7/00;G06F15/00;

  • 国家 US

  • 入库时间 2022-08-22 02:38:50

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号