System.FGetExceptMask
Delphi
function FGetExceptMask(ExceptMasks: UInt32): UInt32;
C++
extern DELPHI_PACKAGE unsigned __fastcall FGetExceptMask(unsigned ExceptMasks = (unsigned)(0x3f));
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | System.pas System.hpp |
System | System |
Description
Gets the floating point exception mask flags.
FGetExceptMask gets mask flags specified by the ExceptMasks parameter.
ExceptMasks represents a combination of the following values:
| Constant |
|---|
| femINEXACT |
| femUNDERFLOW |
| femOVERFLOW |
| femDIVBYZERO |
| femINVALID |
FGetExceptMask returns the current value of the unit's floating point exception mask flag specified by ExceptMasks.
Excepts specifies which exception masks are returned. For example, if ExceptMasks is femDIVBYZERO or femINVALID, FGetExceptMask only returns the status of femDIVBYZERO and femINVALID.
If ExceptMasks is 0, FGetExceptMask returns 0.