Reuse of rounder for fixed conversion of log instructions
US8626807B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Jan 8, 2009 |
| Grant date | Jan 7, 2014 |
| Priority date | — |
| Expiry date | Sep 18, 2032 |
Classification
- Technology area (CPC H)Electricity
- CPC primaryH03M7/24
- WIPO fieldBasic communication processes
- WIPO sectorElectrical engineering
Abstract
A method for converting a signed fixed point number into a floating point number that includes reading an input number corresponding to a signed fixed point number to be converted, determining whether the input number is less than zero, setting a sign bit based upon whether the input number is less than zero or greater than or equal to zero, computing a first intermediate result by exclusive-ORing the input number with the sign bit, computing leading zeros of the first intermediate result, padding the first intermediate result based upon the sign bit, computing a second intermediate result by shifting the padded first intermediate result to the left by the leading zeros, computing an exponent portion and a fraction portion, conditionally incrementing the fraction portion based on the sign bit, correcting the exponent portion and the fraction portion if the incremented fraction portion overflows, and returning the floating point number.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.