implement nan, nanf, nanl
[musl] / src / math / nan.c
diff --git a/src/math/nan.c b/src/math/nan.c
new file mode 100644 (file)
index 0000000..9e0826c
--- /dev/null
@@ -0,0 +1,6 @@
+#include <math.h>
+
+double nan(const char *s)
+{
+       return NAN;
+}