FreeFOAM The Cross-Platform CFD Toolkit
sigFpe Class Reference

Set up trapping for floating point exceptions (signal FPE). More...

#include <OSspecific/sigFpe.H>


Detailed Description

Set up trapping for floating point exceptions (signal FPE).

Controlled by two env vars:

Parameters:
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.
Source files

Definition at line 58 of file sigFpe.H.

List of all members.

Public Member Functions

 sigFpe ()
 ~sigFpe ()
void set (const bool verbose)

Constructor & Destructor Documentation

sigFpe ( )
~sigFpe ( )

Member Function Documentation

void set ( const bool  verbose)

The documentation for this class was generated from the following file: