Teuchos - Trilinos Tools Package Version of the Day
Functions
Floating Point Trapping Support Code

Functions

void Teuchos::doFloatingPointTrap (bool enableTrap)
 Turn on or off a floating point trap.

Detailed Description

This is code that makes it easier to trap floating point errors in user code.

ToDo: Finish documentation!


Function Documentation

void Teuchos::doFloatingPointTrap ( bool  enableTrap)

Turn on or off a floating point trap.

To use this from gdb, set:

   handle SIGFPE stop nopass
 

before running the code in gdb.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines