Implement nanl in newlib only
Drop Cygwin-specific nanl in favor of a generic implementation in newlib. Requires GCC 3.3 or later. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
323b48b975
commit
682c4a9f1e
|
@ -38,5 +38,11 @@ nanl (const char *tagp)
|
|||
{
|
||||
return nan(tagp);
|
||||
}
|
||||
#elif __GNUC_PREREQ (3, 3)
|
||||
long double
|
||||
nanl (const char *tagp)
|
||||
{
|
||||
return __builtin_nanl("");
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
@ -218,7 +218,6 @@ MATH_OFILES:= \
|
|||
lrintl.o \
|
||||
lroundl.o \
|
||||
modfl.o \
|
||||
nanl.o \
|
||||
nearbyint.o \
|
||||
nearbyintf.o \
|
||||
nearbyintl.o \
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
long double
|
||||
nanl (const char *tagp)
|
||||
{
|
||||
return __builtin_nanl ("");
|
||||
}
|
Loading…
Reference in New Issue