aboutsummaryrefslogtreecommitdiff
path: root/src/math/nanf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/nanf.c')
-rw-r--r--src/math/nanf.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/math/nanf.c b/src/math/nanf.c
index 752ce546..36daf41d 100644
--- a/src/math/nanf.c
+++ b/src/math/nanf.c
@@ -4,3 +4,11 @@ float nanf(const char *s)
{
return NAN;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif