GEOSX
|
Changes the floating point environment and reverts it when destoyed. More...
#include <system.hpp>
Public Member Functions | |
FloatingPointExceptionGuard (int const exceptions=getDefaultFloatingPointExceptions()) | |
Disable the floating point exceptions given by exceptions . More... | |
~FloatingPointExceptionGuard () | |
Re-enable the floating point exceptions that were active on construction. | |
Changes the floating point environment and reverts it when destoyed.
Definition at line 124 of file system.hpp.
|
inline |
Disable the floating point exceptions given by exceptions
.
exceptions | The floating point exceptions to disable. |
Definition at line 131 of file system.hpp.