summaryrefslogtreecommitdiff
path: root/src/math/nanl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/nanl.c')
-rw-r--r--src/math/nanl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/math/nanl.c b/src/math/nanl.c
new file mode 100644
index 00000000..969af564
--- /dev/null
+++ b/src/math/nanl.c
@@ -0,0 +1,6 @@
+#include <math.h>
+
+long double nanl(const char *s)
+{
+ return NAN;
+}