发明名称 System and method for performing decimal to binary conversion
摘要 A method for converting from binary to decimal. The method includes receiving a binary coded decimal (BCD) number made up of one or more sets of three digits. A running sum and a running carry are set to zero. The following steps are performed for each set of three digits in the BCD number in order from the set of three digits containing the three most significant digits of the BCD number to the set of three digits containing the three least significant digits of the BCD number. The steps include: creating six partial products based on the set of three digits, the running sum and the running carry; combining the six partial products into two partial products; and storing the two partial products in the running sum and the running carry. After the loop has been performed for each set of three digits in the BCD number, the running sum and the running carry are combined into a final binary result.
申请公布号 US2006179091(A1) 申请公布日期 2006.08.10
申请号 US20050054233 申请日期 2005.02.09
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 CARLOUGH STEVEN R.;FLEISCHER BRUCE M.;LI WEN H.;SCHWARZ ERIC M.
分类号 G06F7/00 主分类号 G06F7/00
代理机构 代理人
主权项
地址