Unified Floating Point Check Procedure for Rounding Error Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing floating-point operation methods face delays and complexity in error detection and correction due to the need for separate check procedures for different rounding modes and normal/subnormal results, which increases hardware size and processing time.

Innovation Solution

A unified check procedure using bits of the unrounded proposed mantissa result is implemented, determining a check parameter to decide whether the rounded result needs incrementation, thereby reducing the number of functions and shifting operations, and allowing earlier detection of errors.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If separate check procedures are implemented for different rounding modes and normal/subnormal results, then measurement precision is improved, but device complexity increases

Engineering Contradiction:
Improveerror detection precisionVSAvoidcheck procedure complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent implements a unified check procedure that handles all rounding modes (round-to-nearest, round-toward-zero, round-toward-plus-infinity, round-toward-minus-infinity) and both normal and subnormal results through a single algorithm. The procedure uses the unrounded proposed mantissa result bits directly to determine a check parameter that indicates whether the rounded result is correct or needs incrementation, eliminating the need for separate check procedures for each rounding mode and result type.

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

2Reliability

If separate check procedures are implemented for different rounding modes and normal/subnormal results, then reliability is improved, but device complexity increases

Engineering Contradiction:
Improveerror detection reliabilityVSAvoidcheck procedure complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The unified check procedure ensures reliable error detection across all rounding modes and result types by using a single consistent algorithm. The check parameter determination logic reliably identifies whether the rounded proposed mantissa result needs incrementation regardless of the rounding mode or whether the result is normal or subnormal, maintaining high reliability while reducing complexity.

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

3Manufacturing precision

If variable shifting operations are performed in check procedures, then manufacturing precision is improved, but loss of time increases

Engineering Contradiction:
Improvefloating point result precisionVSAvoidprocessing time
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The patent determines the check parameter using bits from the unrounded proposed mantissa result before rounding occurs. By using the unrounded result bits directly in the check parameter determination logic, the procedure eliminates the need for variable shifting operations that would otherwise be required to align bits for subnormal results or different rounding modes, significantly reducing processing time while maintaining precision.

Inventive Principle:
Principle #10Preliminary action

4Measurement precision

If multiple functions are implemented for different rounding modes and result types, then measurement precision is improved, but device complexity increases

Engineering Contradiction:
Improveerror detection precisionVSAvoidnumber of functions
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent consolidates multiple separate check procedure functions into a single unified function that handles all rounding modes and result types. The unified procedure uses a consistent logic to determine the check parameter from the unrounded proposed mantissa result, eliminating the need for separate functions for round-to-nearest, round-toward-zero, round-toward-plus-infinity, round-toward-minus-infinity, and for handling both normal and subnormal results separately.

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

Data Source

PatentUS10416960B2Check procedure for floating point operations
Publication Date: 2019.09.17 IMAGINATION TECH LTD
  • US10416960B2 patent drawing
  • US10416960B2 patent drawing
  • US10416960B2 patent drawing

AI summary

Method and computer system for implementing an operation on ≥1 floating point input, in accordance with a rounding mode, e.g. using a Newton-Raphson technique. The floating point result comprises a p-bit mantissa. An unrounded proposed mantissa result is determined using the Newton-Raphson technique, wherein a p-bit rounded proposed mantissa result, t, corresponds to a rounding of the unrounded proposed mantissa result in accordance with the rounding mode, with k leading zeroes. If an increment to the (m−k)th bit of the unrounded result would affect the p-bit rounded result then the input(s) and bits of the unrounded result are used to determine a check parameter which is indicative of a relationship between an exact result and the unrounded result if the (m−k)th bit were incremented. The p-bit mantissa of the floating point result, is determined in dependence upon the check parameter, to be either t or t+1.