Set up trapping for floating point exceptions (signal FPE). More...
#include <OSspecific/sigFpeImpl.H>
Set up trapping for floating point exceptions (signal FPE).
FOAM_SIGFPE | exception trapping |
FOAM_SETNAN | initialization of all malloced memory to NaN. If FOAM_SIGFPE also set, this will cause usage of uninitialized scalars to trigger an abort. |
This is the platform specific opaque implementation for class sigFpe.
Definition at line 70 of file sigFpeImpl.H.
Public Member Functions | |
sigFpeImpl () | |
~sigFpeImpl () | |
void | set (const bool verbose) |
sigFpeImpl | ( | ) | [read]
|
Definition at line 132 of file sigFpeImpl.C.
~sigFpeImpl | ( | ) |
Definition at line 140 of file sigFpeImpl.C.
References Foam::abort(), Foam::env(), Foam::FatalError, and FatalErrorIn.
void set | ( | const bool | verbose ) |
Definition at line 176 of file sigFpeImpl.C.
References Foam::abort(), Foam::endl(), Foam::env(), Foam::FatalError, FatalErrorIn, and Foam::Info.