System.Math.TArithmeticExceptionMask

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

type TArithmeticExceptionMask = set of TArithmeticException;

C++

typedef System::Set<TArithmeticException, TArithmeticException::exInvalidOp, TArithmeticException::exPrecision> TArithmeticExceptionMask;

Properties

Type Visibility Source Unit Parent
set
typedef
public
System.Math.pas
System.Math.hpp
System.Math System.Math

Description

Specifies a set of masked floating-point exceptions.

TArithmeticExceptionMask contains a set of TArithmeticException values used to mask floating-point exceptions. TArithmeticException defines the following floating-point exceptions: exInvalidOp, exDenormalized, exZeroDivide, exOverflow, exUnderflow, exPrecision.

You can prevent floating-point exceptions from occuring by using SetExceptionMask to mask some or all of them.

See Also