
Definition in file fpe.C.
#include "Util/fpe.H"
#include <fenv.h>
Include dependency graph for fpe.C:

Go to the source code of this file.
Functions | |
| void | fpExceptionsOn () |
| Turn floating-point exceptions on. | |
| void | fpExceptionsOff () |
| Turn floating-point exceptions off. | |
| void | fpExceptionsLock () |
| Lock floating-point exceptions in their current state. | |
| void | fpExceptionsUnlock () |
| Unlock floating-point exceptions. | |
| bool | fpIsEnabled () |
| Check whether floating-point exceptions are on. | |
| bool | fpIsLocked () |
| Check whether floating-point exceptions are locked in their current state. | |
Variables | |
| bool | isEnabled = false |
| bool | isLocked = false |
|
|
Lock floating-point exceptions in their current state. That is, if FPEs are on now, they will stay locked on even if someone calls fpExceptionsOff(); likewise, if FPEs are off now, they will stay locked off even if someone calls fpExceptionsOn(). Definition at line 77 of file fpe.C. References isLocked. Referenced by main(), MexModelManager::MexModelManager(), and submain(). |
|
|
Turn floating-point exceptions off.
Definition at line 64 of file fpe.C. References isEnabled, and isLocked. Referenced by main(), MexModelManager::MexModelManager(), ModelManager::paramChanged(), and submain(). |
|
|
Turn floating-point exceptions on.
Definition at line 51 of file fpe.C. References isEnabled, and isLocked. Referenced by ModelManager::paramChanged(). |
|
|
Unlock floating-point exceptions. This does not turn FPEs on or off, but does make it possible for the state to be changed again via fpExceptionsOn() or fpExceptionsOff(). Definition at line 83 of file fpe.C. References isLocked. Referenced by main(), MexModelManager::MexModelManager(), and submain(). |
|
|
Check whether floating-point exceptions are on.
Definition at line 89 of file fpe.C. References isEnabled. |
|
|
Check whether floating-point exceptions are locked in their current state.
Definition at line 95 of file fpe.C. References isLocked. |
1.4.4