Invention Grant
- Patent Title: System and method for performing decimal to binary conversion
- Patent Title (中): 用于执行十进制到二进制转换的系统和方法
-
Application No.: US11054233Application Date: 2005-02-09
-
Publication No.: US07660838B2Publication Date: 2010-02-09
- Inventor: Steven R. Carlough , Bruce M. Fleischer , Wen H. Li , Eric M. Schwarz
- Applicant: Steven R. Carlough , Bruce M. Fleischer , Wen H. Li , Eric M. Schwarz
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Cantor Colburn LLP
- Agent John Campbell
- Main IPC: G06F15/00
- IPC: G06F15/00

Abstract:
A method for converting from decimal to binary including 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. A process is 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 digits containing the three least significant digits of the BCD number. The process includes: 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. The running sum and the running carry from each set of three digits are combined into a final binary result.
Public/Granted literature
- US20060179091A1 System and method for performing decimal to binary conversion Public/Granted day:2006-08-10
Information query