Decimal Floating-Point Decomposition Using Significand and Exponent Conversion
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current systems 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 involved.
Innovation Solution
A method is provided to decompose decimal floating point data by converting the significand and exponent into specific formats, allowing for conversion between decimal floating point and intermediate data types, ensuring accurate representation and manipulation of decimal floating point numbers.
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 (e.g., 0.1) and requires rounding during scaling operations
Solution Approach 1:
The patent changes the numerical base parameter from binary (base-2) to decimal (base-10) for floating-point representation. This allows exact representation of decimal fractions while maintaining floating-point processing capabilities through specialized decimal floating-point hardware or software implementations.
Solution Approach 2:
The patent introduces decimal floating-point format as an intermediary representation between human-readable decimal data and binary processing systems. This intermediary format preserves decimal accuracy while enabling efficient computation through dedicated decimal arithmetic units or conversion mechanisms.
2Measurement precision
If human-readable decimal data is directly converted to binary floating point format, then processing can be efficient, but accuracy is lost due to inability to represent certain decimal fractions exactly
Solution Approach 1:
The patent uses decimal floating-point format as an intermediary representation between human-readable decimal data and binary processing systems. This intermediary format preserves decimal accuracy while enabling efficient computation through dedicated decimal arithmetic units or conversion mechanisms.
Solution Approach 2:
The patent segments the conversion process into distinct stages: parsing human-readable decimal strings, converting to internal decimal floating-point representation, performing computations, and converting results back to human-readable format. This segmentation allows each stage to be optimized independently for accuracy and efficiency.
3Measurement precision
If decimal floating point format is used to maintain accuracy of decimal fractions, then exact representation is achieved, but conversion from other formats introduces complexity and potential accuracy loss
Solution Approach 1:
The patent performs preliminary conversion of human-readable decimal data into decimal floating-point format before any computational operations. This preliminary action establishes exact decimal representation from the outset, preventing accuracy loss that would occur with binary conversion, and simplifies subsequent processing by working natively in decimal format.
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.


