Decimal Floating Point Significand Conversion Logic
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current technologies face challenges in converting decimal floating point data between different formats without loss of accuracy, particularly in processing environments where data needs to be transformed from human-readable formats to decimal floating point formats.
Innovation Solution
The implementation of specific machine instructions and logic to convert between decimal floating point formats and intermediate data types such as signed packed decimal and signed binary integer, enabling precise conversion and composition of decimal floating point data.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If binary floating point is used to represent real numbers, then computational processing is efficient, but accuracy is lost for certain decimal fractions like 0.1
Solution Approach 1:
The patent changes the radix parameter from base-2 (binary) to base-10 (decimal) for floating point representation. This allows exact representation of decimal fractions like 0.1 while maintaining efficient computational processing through hardware-supported decimal arithmetic operations.
2Measurement precision
If decimal floating point format is used, then accuracy of decimal fractions is maintained, but conversion from other formats introduces complexity
Solution Approach 1:
The patent introduces signed packed decimal and signed binary integer as intermediate data types in the conversion process. Human-readable decimal data is first converted to these intermediate formats, which then serve as mediators for final conversion to decimal floating point format, simplifying the overall conversion complexity.
Solution Approach 2:
The conversion process is segmented into distinct stages: first converting human-readable data to intermediate formats (signed packed decimal for significand, signed binary integer for exponent), then converting from these intermediates to decimal floating point format. This segmentation makes the complex conversion manageable and systematic.
3Reliability
If intermediate data types are used for conversion, then data integrity is maintained, but additional conversion steps increase processing time
Solution Approach 1:
The intermediate data types (signed packed decimal and signed binary integer) are designed to naturally support the conversion process without requiring complex external processing. The structure of these intermediates allows them to self-organize into the final decimal floating point format, reducing additional processing time while maintaining data integrity.
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. For composition and decomposition, one or more instructions may be employed, including one or more convert instructions.


