Home > Extreme Optimization Mathematics Library for .NET > Reference > Extreme.Mathematics Namespace


Extreme Optimization Mathematics Library for .NET

TotalLossOfPrecisionException Class

Represents an exception that is thrown when roundoff errors in a calculation make it impossible to produce a meaningful result.

For a list of all members of this type, see TotalLossOfPrecisionException Members.

System.Object
   Exception
      SystemException
         ArithmeticException
            TotalLossOfPrecisionException

[Visual Basic]
Public Class TotalLossOfPrecisionException
Inherits ArithmeticException
[C#]
public class TotalLossOfPrecisionException : ArithmeticException

Remarks

In some rare cases, round-off error can cause the result of an operation to have no correct significant digits at all. When this happens, an exception of type TotalLossOfPrecisionException is thrown.

Round-off errors are the result of the finite precision of floating-point numbers. Only a few numbers can be represented exactly. The main contributing factor to total loss of precision is when two numbers of approximately equal size are subtracted.

Requirements

Namespace: Extreme.Mathematics

Assembly: Extreme.Mathematics (in Extreme.Mathematics.dll)

See Also

TotalLossOfPrecisionException Members | Extreme.Mathematics Namespace