Decomposition of Decimal Floating Point Data
AssigneeInternational Business Machines Corporation
InventorsShawn D Lundvall, Eric M Schwarz, Ronald M Smith, SR., Phil C Yeh
Life of this patent
Estimating the term…
Abstract
A decimal floating point finite number in a decimal floating point format is composed from the number in a different format. A decimal floating point format includes fields to hold information relating to the sign, exponent and significand of the decimal floating point finite number. Other decimal floating point data, including infinities and NaNs (not a number), are also composed. Decimal floating point data are also decomposed from the decimal floating point format to a different format.
Claims18
A method of decomposing a decimal floating point datum, said method comprising:
- obtaining, by a processor of an emulated processing environment, a datum in a decimal floating point format;
- converting a significand of the datum in the decimal floating point format to the significand in a first format;
- and
- converting an exponent of the datum in the decimal floating point format to the exponent in a second format, wherein in response to converting the significand and converting the exponent the datum is provided in a format other than the decimal floating point format.
A computer program product for decomposing a decimal floating point datum, said computer program product comprising a non-transitory computer readable storage medium readable by a processor and storing instructions for execution by the processor for performing a method comprising:
- obtaining, by a processor of an emulated processing environment, a datum in a decimal floating point format;
- converting a significand of the datum in the decimal floating point format to the significand in a first format;
- and
- converting an exponent of the datum in the decimal floating point format to the exponent in a second format, wherein in response to converting the significand and converting the exponent the datum is provided in a format other than the decimal floating point format.
A computer system to decompose a decimal floating point datum, said computer system comprising a memory;
- and a processor in communications with the memory, wherein the computer system is configured to perform a method comprising:
- obtaining, by a processor of an emulated processing environment, a datum in a decimal floating point format;
- converting a significand of the datum in the decimal floating point format to the significand in a first format;
- and
- converting an exponent of the datum in the decimal floating point format to the exponent in a second format, wherein in response to converting the significand and converting the exponent the datum is provided in a format other than the decimal floating point format.
Dependencies are inferred from the claim text.