mirror of
https://git.musl-libc.org/git/musl
synced 2025-02-10 15:24:14 +03:00
implement nan, nanf, nanl
This commit is contained in:
parent
b69f695ace
commit
bf9d9dcaa6
6
src/math/nan.c
Normal file
6
src/math/nan.c
Normal file
@ -0,0 +1,6 @@
|
||||
#include <math.h>
|
||||
|
||||
double nan(const char *s)
|
||||
{
|
||||
return NAN;
|
||||
}
|
6
src/math/nanf.c
Normal file
6
src/math/nanf.c
Normal file
@ -0,0 +1,6 @@
|
||||
#include <math.h>
|
||||
|
||||
float nanf(const char *s)
|
||||
{
|
||||
return NAN;
|
||||
}
|
6
src/math/nanl.c
Normal file
6
src/math/nanl.c
Normal file
@ -0,0 +1,6 @@
|
||||
#include <math.h>
|
||||
|
||||
long double nanl(const char *s)
|
||||
{
|
||||
return NAN;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user