implement nan, nanf, nanl
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
#include <math.h>
|
||||
|
||||
double nan(const char *s)
|
||||
{
|
||||
return NAN;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
#include <math.h>
|
||||
|
||||
float nanf(const char *s)
|
||||
{
|
||||
return NAN;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
#include <math.h>
|
||||
|
||||
long double nanl(const char *s)
|
||||
{
|
||||
return NAN;
|
||||
}
|
||||
Reference in New Issue
Block a user