Show: Delphi C++
Display Preferences

System.FGetExceptFlag

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function FGetExceptFlag(Excepts: UInt32): UInt32;

C++

extern DELPHI_PACKAGE unsigned __fastcall FGetExceptFlag(unsigned Excepts = (unsigned)(0x3f));

Properties

Type Visibility Source Unit Parent
function public
System.pas
System.hpp
System System


Description

Retrieves whether the floating-point exception event flags specified by the Excepts parameter are set.

Excepts represents a combination of the following flags:

Constant
feeINEXACT
feeUNDERFLOW
feeOVERFLOW
feeDIVBYZERO
feeINVALID

Excepts specifies which exception event flags are to be retrieved. For example, if Excepts is feeDIVBYZERO and feeINVALID, FGetExceptFlag only retrieves whether the feeDIVBYZERO and feeINVALID flags are set.

If Excepts is 0, FGetExceptFlag returns 0.

Notes:

  • The Excepts parameter and the function return values are different for each platform.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance