diff options
Diffstat (limited to 'sysdeps/powerpc/power7/fpu/s_logb.c')
-rw-r--r-- | sysdeps/powerpc/power7/fpu/s_logb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/powerpc/power7/fpu/s_logb.c b/sysdeps/powerpc/power7/fpu/s_logb.c index c5feb67960..24f7fad4d5 100644 --- a/sysdeps/powerpc/power7/fpu/s_logb.c +++ b/sysdeps/powerpc/power7/fpu/s_logb.c @@ -1,5 +1,5 @@ /* logb(). PowerPC/POWER7 version. - Copyright (C) 2012-2015 Free Software Foundation, Inc. + Copyright (C) 2012-2016 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -58,6 +58,7 @@ __logb (double x) int ma; EXTRACT_WORDS (ix, lx, x); + ix &= 0x7fffffff; if (ix == 0) ma = __builtin_clz (lx) + 32; else |