summaryrefslogtreecommitdiff
path: root/src/math/nan.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/nan.c')
-rw-r--r--src/math/nan.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/math/nan.c b/src/math/nan.c
new file mode 100644
index 00000000..ac96ca3d
--- /dev/null
+++ b/src/math/nan.c
@@ -0,0 +1,13 @@
+# define TGSOURCE "nan.c"
+#include "nonstd/tgmath.h"
+#include <math.h>
+
+TYPE TGFN(nan)(const char *tagp)
+{
+ return 0.0;
+}
+
+/*
+STDC(199901)
+LINK(m)
+*/