diff options
Diffstat (limited to 'lib/libm/nanf.c')
| -rw-r--r-- | lib/libm/nanf.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libm/nanf.c b/lib/libm/nanf.c new file mode 100644 index 00000000..db7bff6e --- /dev/null +++ b/lib/libm/nanf.c @@ -0,0 +1,7 @@ +#include <sys/cdefs.h> +#include <math.h> + +float nanf(const char *__unused s) +{ + return NAN; +} |
