FloatingPointExceptions.hpp
Go to the documentation of this file.
1 // Distributed under the MIT License.
2 // See LICENSE.txt for details.
3 
4 /// \file
5 /// Functions to enable/disable termination on floating point exceptions
6 
7 #pragma once
8 
9 /// \ingroup ErrorHandlingGroup
10 /// After a call to this function, the code will terminate with a floating
11 /// point exception on overflow, divide-by-zero, and invalid operations.
13 
14 /// \ingroup ErrorHandlingGroup
15 /// After a call to this function, the code will NOT terminate with a floating
16 /// point exception on overflow, divide-by-zero, and invalid operations.
void disable_floating_point_exceptions()
After a call to this function, the code will NOT terminate with a floating point exception on overflo...
Definition: FloatingPointExceptions.cpp:37
void enable_floating_point_exceptions()
After a call to this function, the code will terminate with a floating point exception on overflow...
Definition: FloatingPointExceptions.cpp:27