Go to the documentation of this file.
52 #if defined(linux) || defined(linux64) || defined(linuxIA64) || \
53 defined(linuxARM7) || defined(linuxPPC64) || defined(linuxPPC64le)
57 #if defined(LINUX) && defined(__GNUC__)
87 static void sigHandler(
int);
108 static void set(
const bool verbose);
111 static void unset(
const bool verbose);
118 static void* mallocNan(
size_t size);
static void set(const bool verbose)
Activate SIGFPE signal handler when FOAM_SIGFPE is set.
static struct sigaction oldAction_
Saved old signal trapping setting.
static bool mallocNanActive_
Flag to indicate mallocNan is enabled.
Set up trapping for floating point exceptions (signal FPE).
static bool sigFpeActive_
Flag to indicate floating point trapping is enabled.
static void fillNan(UList< scalar > &)
Fill block of data with NaN.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
static void unset(const bool verbose)
Deactivate SIGFPE signal handler and NaN memory initialisation.