Patent ID: 7991811

Claim:
A storage medium, comprising: a machine readable computer program code for performing floating-point conversions in a digital computing system; and instructions for causing a computer to implement a method, the method further comprising: determining a source coefficient, c 1 , and a source exponent, n, of an input value represented by a floating-point number in a source base, b 1 ; converting the source coefficient to a common base, b 2 , and storing the converted coefficient in a first digit collection; iteratively multiplying the contents of the first digit collection by b 1 and storing the intermediate results in the first digit collection, 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 thereof is reached; and wherein an output value in the common base is stored in the digit collections after n multiplication iterations, represented by c 2 ×b 2 m , wherein c 2 is the converted coefficient of the output value in the common base b 2 and m is the exponent of the output value.