aboutsummaryrefslogtreecommitdiff
path: root/src/classify.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/classify.c')
-rw-r--r--src/classify.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/classify.c b/src/classify.c
index a2feeb6..f723ef2 100644
--- a/src/classify.c
+++ b/src/classify.c
@@ -30,3 +30,13 @@ int CCTK_FCALL CCTK_FNAME(TAT_finite) (const CCTK_REAL * restrict const x)
return 1;
#endif
}
+
+CCTK_REAL CCTK_FCALL CCTK_FNAME(TAT_nan) (void)
+{
+ return 0.0 / 0.0;
+}
+
+CCTK_REAL CCTK_FCALL CCTK_FNAME(TAT_inf) (void)
+{
+ return 1.0 / 0.0;
+}