Decimal Floating-Point Decomposition Using Significand and Exponent Conversion

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

VSEngineering 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

Engineering Contradiction:
Improveaccuracy of decimal fraction representationVSAvoidprocessing efficiency
Core Design Contradiction:
Measurement precisionVSEase of operation

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.

Inventive Principle:
Principle #35Parameter changes

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.

Inventive Principle:
Principle #24Intermediary (Mediator)

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

Engineering Contradiction:
Improveaccuracy of decimal data representationVSAvoidcomplexity of conversion process
Core Design Contradiction:
Measurement precisionVSDevice complexity

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.

Inventive Principle:
Principle #24Intermediary (Mediator)

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.

Inventive Principle:
Principle #1Segmentation

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

Engineering Contradiction:
Improveaccuracy of decimal fraction representationVSAvoidcomplexity of format conversion
Core Design Contradiction:
Measurement precisionVSDevice complexity

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.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS8082282B2Decomposition of decimal floating point data, and methods therefor
Publication Date: 2011.12.20 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US8082282B2 patent drawing
  • US8082282B2 patent drawing
  • US8082282B2 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.