summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/isnan.c
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2004-09-24 06:33:22 +0000
committerdas <das@FreeBSD.org>2004-09-24 06:33:22 +0000
commitb4a1d559bdef99b2b84f7baf1cc8a70dab1b43bf (patch)
treee7ac1420252c3fc8968073472ffd122c8d9af4fa /lib/libc/gen/isnan.c
parent88cf2bf7b82579a978618774cc0acaed5ce25233 (diff)
downloadFreeBSD-src-b4a1d559bdef99b2b84f7baf1cc8a70dab1b43bf.zip
FreeBSD-src-b4a1d559bdef99b2b84f7baf1cc8a70dab1b43bf.tar.gz
Remove __isnanl() to avoid conflicting with the same function in libm.
__isnan() and __isnanf() must remain in libc for hysterical raisins. On the other hand, __isnanl() must live in libm because libm uses it internally and can't depend on older versions of libc to provide it. Fortunately, we don't need __isnanl() in both libraries. Prodded by: ale PR: 71698 MT5 candidate
Diffstat (limited to 'lib/libc/gen/isnan.c')
-rw-r--r--lib/libc/gen/isnan.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/libc/gen/isnan.c b/lib/libc/gen/isnan.c
index 52cec1b..ec81362 100644
--- a/lib/libc/gen/isnan.c
+++ b/lib/libc/gen/isnan.c
@@ -55,13 +55,3 @@ __isnanf(float f)
u.f = f;
return (u.bits.exp == 255 && u.bits.man != 0);
}
-
-int
-__isnanl(long double e)
-{
- union IEEEl2bits u;
-
- u.e = e;
- mask_nbit_l(u);
- return (u.bits.exp == 32767 && (u.bits.manl != 0 || u.bits.manh != 0));
-}
OpenPOWER on IntegriCloud