diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/gen/isinf.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/gen/isinf.c b/lib/libc/gen/isinf.c index 248fc93..4a4152a 100644 --- a/lib/libc/gen/isinf.c +++ b/lib/libc/gen/isinf.c @@ -62,5 +62,9 @@ __isinfl(long double e) u.e = e; mask_nbit_l(u); +#ifndef __alpha__ return (u.bits.exp == 32767 && u.bits.manl == 0 && u.bits.manh == 0); +#else + return (u.bits.exp == 2047 && u.bits.manl == 0 && u.bits.manh == 0); +#endif } |