#if defined(PETSC_USE_REAL___FLOAT128) PetscBool PetscIsInfReal(PetscReal a)
Notes: uses the C99 standard isinf() on systems where it exists. Otherwises uses (a && a/2 == a), note that some optimizing compiles compile out this form, thus removing the check.
Level:beginner
Location:src/sys/utils/mathinf.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages