Arcane
v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
FloatingPointExceptionSentry.h
1
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2
//-----------------------------------------------------------------------------
3
// Copyright 2000-2023 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
4
// See the top-level COPYRIGHT file for details.
5
// SPDX-License-Identifier: Apache-2.0
6
//-----------------------------------------------------------------------------
7
/*---------------------------------------------------------------------------*/
8
/* FloatingPointExceptionSentry.h (C) 2000-2023 */
9
/* */
10
/* Activation/désactivation temporaire des exceptions flottantes */
11
/*---------------------------------------------------------------------------*/
12
#ifndef ARCANE_UTILS_FLOATINGPOINTEXCEPTIONSENTRY_H
13
#define ARCANE_UTILS_FLOATINGPOINTEXCEPTIONSENTRY_H
14
/*---------------------------------------------------------------------------*/
15
/*---------------------------------------------------------------------------*/
16
17
#include "
arcane/utils/ArcaneGlobal.h
"
18
19
/*---------------------------------------------------------------------------*/
20
/*---------------------------------------------------------------------------*/
21
22
namespace
Arcane
23
{
24
25
/*---------------------------------------------------------------------------*/
26
/*---------------------------------------------------------------------------*/
34
class
ARCANE_UTILS_EXPORT
FloatingPointExceptionSentry
35
{
36
public
:
37
38
explicit
FloatingPointExceptionSentry
(
bool
want_active
);
39
~FloatingPointExceptionSentry
();
40
41
private
:
42
43
bool
m_want_active =
false
;
44
bool
m_is_active =
false
;
45
};
46
47
/*---------------------------------------------------------------------------*/
48
/*---------------------------------------------------------------------------*/
49
50
}
// namespace Arcane
51
52
/*---------------------------------------------------------------------------*/
53
/*---------------------------------------------------------------------------*/
54
55
#endif
ArcaneGlobal.h
Fichier de configuration d'Arcane.
Arcane::FloatingPointExceptionSentry
Classe permettant d'activer/désactiver temporairement les exceptions flottantes du processeur.
Definition
FloatingPointExceptionSentry.h:35
Arcane::LimaWrapper
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Definition
Lima.cc:120
Arcane
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
Definition
AcceleratorGlobal.h:36
arcane
utils
FloatingPointExceptionSentry.h
Généré le Lundi 18 Novembre 2024 03:02:00 pour Arcane par
1.9.8