diff options
Diffstat (limited to 'math/atest-exp2.c')
-rw-r--r-- | math/atest-exp2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/math/atest-exp2.c b/math/atest-exp2.c index 059e4ccf02..9bea07a391 100644 --- a/math/atest-exp2.c +++ b/math/atest-exp2.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1997 Free Software Foundation, Inc. +/* Copyright (C) 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Geoffrey Keating <Geoff.Keating@anu.edu.au>, 1997. @@ -73,7 +73,7 @@ read_mpn_hex(mp_limb_t *x, const char *str) memset (x, 0, sizeof (mp1)); for (i = -1; i < 100 && i < FRAC / 4; ++i) - x[(FRAC - i * 4 - 4) / mpbpl] |= (strchr (hexdig, str[i + 1]) - hexdig + x[(FRAC - i * 4 - 4) / mpbpl] |= ((strchr (hexdig, str[i + 1]) - hexdig) << (FRAC - i * 4 - 4) % mpbpl); } |