aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/libm-ieee754/s_finitel.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/libm-ieee754/s_finitel.c')
-rw-r--r--sysdeps/libm-ieee754/s_finitel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/libm-ieee754/s_finitel.c b/sysdeps/libm-ieee754/s_finitel.c
index 4423726645..6e444e90d0 100644
--- a/sysdeps/libm-ieee754/s_finitel.c
+++ b/sysdeps/libm-ieee754/s_finitel.c
@@ -35,6 +35,6 @@ static char rcsid[] = "$NetBSD: $";
{
int32_t exp;
GET_LDOUBLE_EXP(exp,x);
- return (int)((u_int32_t)((exp&0x7fff)-0x7fff)>>15);
+ return (int)((u_int32_t)((exp&0x7fff)-0x7fff)>>31);
}
weak_alias (__finitel, finitel)