Loading [MathJax]/extensions/tex2jax.js
OGS
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
v
w
z
Enumerations
b
c
d
e
f
g
i
l
m
n
o
p
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
l
m
n
p
r
s
t
v
y
Classes
Class List
Class Index
Class Hierarchy
Files
File List
File Members
All
a
b
c
d
e
f
g
i
k
m
n
o
p
r
s
t
v
w
x
Functions
a
c
d
e
f
g
i
m
o
p
r
s
t
v
w
Variables
Typedefs
Enumerations
Macros
b
c
g
m
n
o
p
r
s
t
▼
OGS
►
OpenGeoSys 6.5.4-183-g069c1fee78b source code documentation
►
OGS CTests—Project Files
►
OGS Input File Parameters—Quality Assurance
►
OGS Input File Parameters
BulkMappingDocuPage
Todo List
OGS Input File Parameters—List of incomplete documentation pages
Bibliography
►
Namespaces
►
Classes
▼
Files
▼
File List
►
Applications
▼
BaseLib
►
IO
►
Algorithm.h
►
BoostMP11Utils.h
►
CompilerWorkarounds.h
ConfigTree-fwd.h
►
ConfigTree-impl.h
►
ConfigTree.cpp
►
ConfigTree.h
►
ConfigTreeUtil.cpp
►
ConfigTreeUtil.h
►
ContainerTools.h
►
cpp23.h
►
CPUTime.h
►
DateTools.cpp
►
DateTools.h
►
DisableFPE.h
►
Error.h
►
ExportSymbol.h
►
FileTools.cpp
►
FileTools.h
►
Histogram.cpp
►
Histogram.h
►
Logging.cpp
►
Logging.h
MemWatch.cpp
►
MemWatch.h
►
MPI.h
►
PrjProcessing.cpp
►
PrjProcessing.h
►
quicksort.h
►
RunTime.h
►
StringTools.cpp
►
StringTools.h
►
StrongType.h
Subdivision.cpp
►
Subdivision.h
►
ThreadException.h
►
TimeInterval.cpp
►
TimeInterval.h
►
TMP.h
►
build
►
ChemistryLib
Documentation
►
GeoLib
►
InfoLib
►
MaterialLib
►
MathLib
►
MeshGeoToolsLib
►
MeshLib
►
MeshToolsLib
►
NumLib
►
ParameterLib
►
ProcessLib
►
File Members
DisableFPE.h
Go to the documentation of this file.
1
11
#if !defined(_WIN32) && !defined(__APPLE__)
12
#include <cfenv>
13
14
class
DisableFPE
15
{
16
public
:
17
DisableFPE
()
18
{
19
fegetenv(&
fe_env
);
// Store floating-point exception handling.
20
fesetenv(FE_DFL_ENV);
// Set default environment effectively disabling
21
// exceptions.
22
}
17
DisableFPE
() {
…
}
23
24
~DisableFPE
()
25
{
26
fesetenv(&
fe_env
);
// Restore floating-point exception handling.
27
}
24
~DisableFPE
() {
…
}
28
29
private
:
30
fenv_t
fe_env
;
31
};
14
class
DisableFPE
{
…
};
32
33
#else
34
35
// No-op for Windows and Apple
36
class
DisableFPE
37
{
38
};
39
40
#endif
DisableFPE
Definition
DisableFPE.h:15
DisableFPE::~DisableFPE
~DisableFPE()
Definition
DisableFPE.h:24
DisableFPE::DisableFPE
DisableFPE()
Definition
DisableFPE.h:17
DisableFPE::fe_env
fenv_t fe_env
Definition
DisableFPE.h:30
BaseLib
DisableFPE.h
Generated by
1.12.0