Invention Grant
- Patent Title: Method and system for optimizing floating point conversion between different bases
- Patent Title (中): 优化不同基地之间的浮点转换的方法和系统
-
Application No.: US11736090Application Date: 2007-04-17
-
Publication No.: US07991811B2Publication Date: 2011-08-02
- Inventor: Erik T. Carlson , Ali Y. Duale
- Applicant: Erik T. Carlson , Ali Y. Duale
- 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 Steven Chiu
- Main IPC: G06F5/00
- IPC: G06F5/00

Abstract:
A method of performing floating-point conversions in a digital computing system includes determining a source coefficient, c1, and a source exponent, n, of an input value represented by a floating-point number in a source base, b1; converting the source coefficient to a common base, b2, and storing the converted coefficient in a first digit collection; iteratively multiplying the contents of the first digit collection by b1 and storing the intermediate results therein, wherein one or more overflow bits of the first digit collection are carried and added to one or more additional digit collections once a nonzero value is reached; and an output value in the common base is stored in the digit collections after n multiplication iterations, represented by c2×b2m, wherein c2 is the converted coefficient of the output value in the common base b2 and m is the exponent of the output value.
Public/Granted literature
- US20080263121A1 METHOD AND SYSTEM FOR OPTIMIZING FLOATING POINT CONVERSION BETWEEN DIFFERENT BASES Public/Granted day:2008-10-23
Information query