Decimal Floating Point Significand Conversion Logic

Resolve Bottlenecks,
Find Innovative Solutions
Generate 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

VSEngineering 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

Engineering Contradiction:
Improvecomputational processing efficiencyVSAvoidaccuracy of decimal fractions
Core Design Contradiction:
ProductivityVSMeasurement precision

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.

Inventive Principle:
Principle #35Parameter changes

2Measurement precision

If decimal floating point format is used, then accuracy of decimal fractions is maintained, but conversion from other formats introduces complexity

Engineering Contradiction:
Improveaccuracy of decimal fractionsVSAvoidconversion process complexity
Core Design Contradiction:
Measurement precisionVSDevice 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.

Inventive Principle:
Principle #24Intermediary (Mediator)

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.

Inventive Principle:
Principle #1Segmentation

3Reliability

If intermediate data types are used for conversion, then data integrity is maintained, but additional conversion steps increase processing time

Engineering Contradiction:
Improvedata integrity during conversionVSAvoidprocessing time for conversion
Core Design Contradiction:
ReliabilityVSLoss of 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.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS8195727B2Convert significand of decimal floating point data from packed decimal format
Publication Date: 2012.06.05 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US8195727B2 patent drawing
  • US8195727B2 patent drawing
  • US8195727B2 patent drawing

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.