Helper class used to disable floating-point exceptions. More...
#include <roboptim/core/util.hh>
Public Member Functions | |
| DisableFPE () | |
| Constructor, disabling floating-point exceptions and storing the floating-point environment. More... | |
| ~DisableFPE () | |
| Destructor, restoring the floating-point environment. More... | |
Helper class used to disable floating-point exceptions.
Simply create an object in a scope where the exceptions should be disabled.
| roboptim::detail::DisableFPE::DisableFPE | ( | ) |
Constructor, disabling floating-point exceptions and storing the floating-point environment.
ROBOPTIM_HAS_FENV_H
ROBOPTIM_HAS_FENV_H
| roboptim::detail::DisableFPE::~DisableFPE | ( | ) |
Destructor, restoring the floating-point environment.
ROBOPTIM_HAS_FENV_H