Parallelized rounding for decimal floating point to binary coded decimal conversion
AssigneeInternational Business Machines Corporation
InventorsStefan Payer, Silvia Melitta Mueller, Nicol Hofmann, Razvan Peter Figuli
Life of this patent
Estimating the term…
Abstract
A computer-implemented method includes: receiving, using a processor, a decimal floating point number; and using a floating point unit within the processor to convert the decimal floating point number into a binary coded decimal number, wherein the floating point unit starts a conversion loop subsequent to a rounding loop starting, wherein the rounding loop and the conversion loop run in parallel once started.
Claims20
A computer-implemented method comprising:
- receiving, using a processor, a decimal floating point number;
- and
- using a floating point unit within the processor to convert the decimal floating point number into a binary coded decimal number, wherein the floating point unit starts a conversion loop subsequent to a rounding loop starting, wherein the rounding loop and the conversion loop run in parallel once started.
A system comprising one or more processors for executing computer readable instructions, the computer readable instructions controlling the one or more processors to perform operations comprising:
- receiving a decimal floating point number;
- and
- converting, by a floating point unit within the one or more processors, the decimal floating point number into a binary coded decimal number, wherein the converting is performed by a conversion loop that is started subsequent to a rounding loop starting, wherein the rounding loop and the conversion loop run in parallel once started.
A computer program product comprising:
- one or more computer-readable storage media, wherein the one or more computer-readable storage media are not transitory signals per se;
- first program instructions, stored on at least one of the one or more computer-readable storage media, to receive a decimal floating point number using a processor;
- and
- second program instructions, stored on at least one of the one or more computer-readable storage media, to cause a floating point unit to convert the decimal floating point number into a binary coded decimal number, wherein the floating point unit starts a conversion loop subsequent to a rounding loop starting, wherein the rounding loop and the conversion loop run in parallel once started.
Dependencies are inferred from the claim text.