Patent Abstract

The apparatus and method for calculating and retaining a bound on error during floating point operations inserts an additional bounding field into the standard floating-point format that records the retained significant bits of the calculation with notification upon insufficient retention.  The bounding field, which accounts for both rounding and cancellation errors, has two parts, the lost bits D Field and the accumulated rounding error R Field.  The D field states the number of bits in the floating point representation that are no longer meaningful.  The bounds on the real value represented are determined from the truncated floating point value (lower bound) and the addition of the error determined by the number of lost bits (upper bound).  The true, real value is absolutely contained by the lower and upper bounds.  The allowed loss (optionally programmable) of significant bits provides a fail-safe, real-time notification of loss of significant bits.