Decimal Floating Point Composition from Significand and Biased Exponent
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing technologies face challenges in converting data from human-readable decimal formats to decimal floating point formats without loss of accuracy, particularly in processing environments where intermediate data types like signed packed decimal and signed binary integer are used.
Innovation Solution
A method is provided to compose decimal floating point data by obtaining the significand and exponent in separate formats, converting the significand to decimal floating point format, and combining it with a biased exponent to create the decimal floating point format, using specific instructions and logic to facilitate this conversion.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If binary floating point is used to represent real numbers in computer hardware, then the data can be processed efficiently in binary format, but it cannot accurately represent some decimal fractions (like 0.1) and requires rounding during scaling operations
Solution Approach 1:
The patent changes the radix parameter from binary (base 2) to decimal (base 10) in the floating point representation system. This allows decimal fractions to be represented exactly without rounding errors, while maintaining efficient computer processing through specialized decimal floating point hardware instructions that operate on packed decimal data formats.
2Measurement precision
If decimal floating point format is used to accurately represent decimal numbers, then measurement precision is improved, but the device complexity increases due to the need for specialized conversion and composition logic
Solution Approach 1:
The patent segments the decimal floating point number into distinct components: sign bit, exponent field, and significand field. Each component is processed and converted separately through specialized instructions, which simplifies the overall conversion process from intermediate formats like signed packed decimal and signed binary integer to the final decimal floating point format.
Solution Approach 2:
The patent uses packed decimal format as an intermediary representation during the conversion process. Data is first converted to packed decimal, then to signed binary integer for exponent processing, and finally composed into the decimal floating point format. This intermediary approach simplifies the complex direct conversion by breaking it into manageable stages with well-defined transformation rules.
3Productivity
If data is converted from human-readable decimal format to intermediate formats (signed packed decimal and signed binary integer), then the data can be processed in the processing environment, but loss of accuracy may occur during the conversion process
Solution Approach 1:
The patent performs preliminary conversion of the significand to packed decimal format and the exponent to signed binary integer format before processing. This preliminary action ensures that the data is in the correct format for subsequent processing operations while maintaining accuracy through controlled conversion processes that preserve the numerical value.
Solution Approach 2:
The patent incorporates feedback mechanisms in the conversion process where the system monitors the conversion from intermediate formats to decimal floating point format and adjusts the composition logic to ensure accuracy is maintained. The feedback ensures that rounding errors are minimized and that the final representation accurately reflects the original human-readable input.
Data Source
AI summary
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.


