fpe.H File Reference

This graph shows which files directly or indirectly include this file:

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.

Detailed Description

floating-point exceptions

Definition in file fpe.H.


Function Documentation

void fpExceptionsLock (  ) 

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.

Referenced by MexModelManager::MexModelManager().

void fpExceptionsOff (  ) 

Turn floating-point exceptions off.

Definition at line 64 of file fpe.C.

Referenced by MexModelManager::MexModelManager(), and ModelManager::paramChanged().

void fpExceptionsOn (  ) 

Turn floating-point exceptions on.

Definition at line 51 of file fpe.C.

Referenced by ModelManager::paramChanged().

void fpExceptionsUnlock (  ) 

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.

Referenced by MexModelManager::MexModelManager().

bool fpIsEnabled (  ) 

Check whether floating-point exceptions are on.

Definition at line 89 of file fpe.C.

bool fpIsLocked (  ) 

Check whether floating-point exceptions are locked in their current state.

Definition at line 95 of file fpe.C.

Generated on Sun May 8 08:19:18 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3