Skip to content

Math: Use C99 fpclassify

Jacob Faibussowitsch requested to merge jacobf/math-fpclassify into master

Currently checks #if defined(PETSC_HAVE_C99) and swaps out isnan(), isnormal(), isinf() for fpclassify(). Keeps quadmath functions intact.

Should we require C99 support all of the bogus

PetscBool PetscIsXXXXXReal(PetscReal a)
{
  return PETSC_TRUE;
}

Can be gotten rid of

cc @jedbrown

Edited by Jacob Faibussowitsch

Merge request reports