petsc-3.4.5 2014-06-29

PetscFPTrapPush

push a floating point trapping mode, to be restored using PetscFPTrapPop()

Synopsis

#include "petscsys.h"  
PetscErrorCode PetscFPTrapPush(PetscFPTrap trap)
Not Collective

Input Arguments

trap -PETSC_FP_TRAP_ON or PETSC_FP_TRAP_OFF

See Also

PetscFPTrapPop(), PetscSetFPTrap()

Level:advanced
Location:
src/sys/error/fp.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/ts/examples/tutorials/ex11.c.html