diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-03-13 01:55:25 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-03-13 01:55:25 -0400 |
commit | bf9d9dcaa631db9918452d05c188f01c8e5f537f (patch) | |
tree | 0bf7955f3cb556a43122a83a614a06c1af6bb442 /src/math/nanf.c | |
parent | b69f695acedd4ce2798ef9ea28d834ceccc789bd (diff) | |
download | musl-bf9d9dcaa631db9918452d05c188f01c8e5f537f.tar.gz musl-bf9d9dcaa631db9918452d05c188f01c8e5f537f.tar.xz musl-bf9d9dcaa631db9918452d05c188f01c8e5f537f.zip |
implement nan, nanf, nanl
Diffstat (limited to 'src/math/nanf.c')
-rw-r--r-- | src/math/nanf.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/math/nanf.c b/src/math/nanf.c new file mode 100644 index 00000000..752ce546 --- /dev/null +++ b/src/math/nanf.c @@ -0,0 +1,6 @@ +#include <math.h> + +float nanf(const char *s) +{ + return NAN; +} |