Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
Floating Point Trapping Support Code

Functions

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

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.