implement nan, nanf, nanl

This commit is contained in:
Rich Felker committed 2012-03-13 01:55:25 -04:00
1 parent b69f695ace
commit bf9d9dcaa6
3 files changed
+18

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
#include <math.h>
double nan(const char *s)
{
return NAN;
}
+6
View File
@@ -0,0 +1,6 @@
#include <math.h>
float nanf(const char *s)
{
return NAN;
}
+6
View File
@@ -0,0 +1,6 @@
#include <math.h>
long double nanl(const char *s)
{
return NAN;
}