Extract Biased Exponent Decimal Floating Point Conversion
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing technologies face challenges in converting data from human-readable 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
The implementation of specific machine instructions, such as the Extract Biased Exponent instruction, allows for the conversion of data from intermediate formats to decimal floating point formats and vice versa, facilitating the composition and decomposition of decimal floating point data by expanding or compressing values into working formats and then converting them back.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If data is converted from human-readable format to decimal floating point format through intermediate data types, then data processing capability is improved, but conversion accuracy may be compromised
Solution Approach 1:
The patent introduces intermediate data types (signed packed decimal for significand, signed binary integer for exponent) as mediators to facilitate conversion from human-readable format to decimal floating point format. These intermediate types serve as a bridge that maintains accuracy while enabling systematic conversion through structured fields.
Solution Approach 2:
The conversion process is segmented into distinct components: sign bit extraction, significand conversion to packed decimal format, and exponent conversion to binary integer format. This segmentation allows each component to be handled with specific precision rules, ensuring overall conversion accuracy while improving processing capability.
2Speed
If binary floating point is used for processing, then processing speed is improved, but representation accuracy of decimal fractions deteriorates
Solution Approach 1:
The patent changes the base parameter from binary to decimal for the floating point representation. By using decimal floating point format with packed decimal significand and biased exponent, the system maintains decimal fraction representation accuracy while achieving processing speeds suitable for computational environments.
Solution Approach 2:
The patent creates a copy of the floating point representation mechanism that uses decimal instead of binary. This copied system (decimal floating point) preserves the accuracy properties of decimal fractions while implementing the processing efficiency of floating point arithmetic through standardized conversion routines.
3Measurement precision
If decimal floating point format is implemented, then representation accuracy of decimal fractions is improved, but device complexity increases
Solution Approach 1:
The patent uses intermediate data types as mediators that simplify the conversion process. The signed packed decimal and signed binary integer formats serve as standardized intermediaries that reduce the complexity of direct conversion by providing structured field mappings between human-readable and decimal floating point formats.
Solution Approach 2:
The patent creates a universal conversion mechanism that handles multiple formats (human-readable, packed decimal, binary integer, decimal floating point) through a single systematic approach. The standardized intermediate types and conversion routines provide multi-functionality, reducing overall system complexity despite the enhanced representation capability.
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 an insert biased exponent or extract biased exponent instruction.


