Floating Point Result Safety Detection via Test Data Group

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing technologies lack a reliable method to determine whether the results of decimal floating point operations are safe, as they cannot accurately assess if using a larger data format would produce the same value and quantum, which is crucial for applications depending on safe results.

Innovation Solution

A computer program product that includes a method to determine whether a decimal floating point operation is safe by examining specific characteristics of the result, using a Test Data Group instruction to identify if the result would remain the same with a larger data format, and setting a condition code accordingly.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If decimal floating point operations are performed using standard data formats, then processing speed and efficiency are improved, but reliability is worsened because there is no method to determine whether the result is safe or would change with a larger data format

Engineering Contradiction:
Improveprocessing speedVSAvoidresult safety
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent applies preliminary action by performing a classification of the floating-point result before final processing. The Test Data Group instruction examines the result's characteristics (such as exponent range and significand precision) to determine if it belongs to a safe data group that would not change with larger data formats. This preliminary classification enables subsequent processing to proceed with confidence in the result's safety without requiring actual re-computation in larger formats.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If a larger data format is used to verify result safety, then reliability is improved, but processing time and computational resources are worsened

Engineering Contradiction:
Improveresult safety verificationVSAvoidverification time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent extracts only the essential characteristics needed to determine result safety, rather than performing complete verification in larger data formats. The Test Data Group instruction extracts key parameters from the result (such as whether the exponent is within a safe range and whether the significand requires full precision) to classify the result into appropriate data groups. This extraction approach provides sufficient reliability information without the time cost of full re-computation.

Inventive Principle:
Principle #2Taking out (Extraction)

3Reliability

If result safety detection capability is added to the processor, then reliability is improved, but device complexity is worsened

Engineering Contradiction:
Improvesafe result detectionVSAvoidprocessor instruction complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent implements universality by designing the Test Data Group instruction to serve multiple functions within a single operation. The instruction not only classifies results into data groups for safety determination but also provides information about the result's characteristics that can be used for subsequent processing decisions. This multi-functionality approach adds reliability capability without proportionally increasing processor complexity, as the same instruction infrastructure supports various safety detection needs.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS10324719B2Detection of potential need to use a larger data format in performing floating point operations
Publication Date: 2019.06.18 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US10324719B2 patent drawing
  • US10324719B2 patent drawing
  • US10324719B2 patent drawing

AI summary

Detection of whether a result of a floating point operation is safe. Characteristics of the result are examined to determine whether the result is safe or potentially unsafe, as defined by the user. An instruction is provided to facilitate detection of safe or potentially unsafe results.