Class allowing temporary activation/deactivation of exceptions of the processor. More...
#include <arcane/utils/FloatingPointExceptionSentry.h>
Public Member Functions | |
| FloatingPointExceptionSentry (bool want_active) | |
Private Attributes | |
| bool | m_want_active = false |
| bool | m_is_active = false |
Class allowing temporary activation/deactivation of exceptions of the processor.
This class allows temporary modification of the state of the exceptions floating-point. The previous state is reactivated when the destructor is called.
Definition at line 35 of file FloatingPointExceptionSentry.h.
|
explicit |
Definition at line 26 of file FloatingPointExceptionSentry.cc.
| Arcane::FloatingPointExceptionSentry::~FloatingPointExceptionSentry | ( | ) |
Definition at line 37 of file FloatingPointExceptionSentry.cc.
|
private |
Definition at line 45 of file FloatingPointExceptionSentry.h.
|
private |
Definition at line 44 of file FloatingPointExceptionSentry.h.