Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::FloatingPointExceptionSentry Class Reference

Class allowing temporary activation/deactivation of exceptions of the processor. More...

#include <arcane/utils/FloatingPointExceptionSentry.h>

Collaboration diagram for Arcane::FloatingPointExceptionSentry:

Public Member Functions

 FloatingPointExceptionSentry (bool want_active)

Private Attributes

bool m_want_active = false
bool m_is_active = false

Detailed Description

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.

Constructor & Destructor Documentation

◆ FloatingPointExceptionSentry()

Arcane::FloatingPointExceptionSentry::FloatingPointExceptionSentry ( bool want_active)
explicit

Definition at line 26 of file FloatingPointExceptionSentry.cc.

◆ ~FloatingPointExceptionSentry()

Arcane::FloatingPointExceptionSentry::~FloatingPointExceptionSentry ( )

Definition at line 37 of file FloatingPointExceptionSentry.cc.

Member Data Documentation

◆ m_is_active

bool Arcane::FloatingPointExceptionSentry::m_is_active = false
private

Definition at line 45 of file FloatingPointExceptionSentry.h.

◆ m_want_active

bool Arcane::FloatingPointExceptionSentry::m_want_active = false
private

Definition at line 44 of file FloatingPointExceptionSentry.h.


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