Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

fpe.H File Reference


Detailed Description

floating-point exceptions

Definition in file fpe.H.

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.


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.

References isLocked.

Referenced by main(), MexModelManager::MexModelManager(), and submain().

void fpExceptionsOff  ) 
 

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().

void fpExceptionsOn  ) 
 

Turn floating-point exceptions on.

Definition at line 51 of file fpe.C.

References isEnabled, and isLocked.

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.

References isLocked.

Referenced by main(), MexModelManager::MexModelManager(), and submain().

bool fpIsEnabled  ) 
 

Check whether floating-point exceptions are on.

Definition at line 89 of file fpe.C.

References isEnabled.

bool fpIsLocked  ) 
 

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

Definition at line 95 of file fpe.C.

References isLocked.


Generated on Mon Nov 23 15:49:37 2009 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4