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);
|
return nan(tagp);
|
||||||
}
|
}
|
||||||
|
#elif __GNUC_PREREQ (3, 3)
|
||||||
|
long double
|
||||||
|
nanl (const char *tagp)
|
||||||
|
{
|
||||||
|
return __builtin_nanl("");
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -218,7 +218,6 @@ MATH_OFILES:= \
|
||||||
lrintl.o \
|
lrintl.o \
|
||||||
lroundl.o \
|
lroundl.o \
|
||||||
modfl.o \
|
modfl.o \
|
||||||
nanl.o \
|
|
||||||
nearbyint.o \
|
nearbyint.o \
|
||||||
nearbyintf.o \
|
nearbyintf.o \
|
||||||
nearbyintl.o \
|
nearbyintl.o \
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
long double
|
|
||||||
nanl (const char *tagp)
|
|
||||||
{
|
|
||||||
return __builtin_nanl ("");
|
|
||||||
}
|
|
Loading…
Reference in New Issue