/* $Header$ */ #include #include "cctk.h" int CCTK_FCALL CCTK_FNAME(TAT_isnan) (const CCTK_REAL * restrict const x) { #ifdef HAVE_ISNAN return isnan(*x); #else return 0; #endif } int CCTK_FCALL CCTK_FNAME(TAT_isinf) (const CCTK_REAL * restrict const x) { #ifdef HAVE_ISINF return isinf(*x); #else return 0; #endif } int CCTK_FCALL CCTK_FNAME(TAT_finite) (const CCTK_REAL * restrict const x) { #ifdef HAVE_FINITE return finite(*x); #else return 1; #endif }