summaryrefslogtreecommitdiff
path: root/Build/source/libs/mpfr/mpfr-src/src/isinteger.c
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2020-07-12 09:25:07 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2020-07-12 09:25:07 +0000
commit66a1282e4e7e96b71e2cfb45acc282a2040a7acb (patch)
tree39d6b05033785ad995eefec457d7e6a332b7bb78 /Build/source/libs/mpfr/mpfr-src/src/isinteger.c
parentcffbc490ae11d44a67e8890a76086448ff67e76b (diff)
mpfr-4.1.0
git-svn-id: svn://tug.org/texlive/trunk@55817 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/mpfr/mpfr-src/src/isinteger.c')
-rw-r--r--Build/source/libs/mpfr/mpfr-src/src/isinteger.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/libs/mpfr/mpfr-src/src/isinteger.c b/Build/source/libs/mpfr/mpfr-src/src/isinteger.c
index 2cfa2f12ed3..770cdf77441 100644
--- a/Build/source/libs/mpfr/mpfr-src/src/isinteger.c
+++ b/Build/source/libs/mpfr/mpfr-src/src/isinteger.c
@@ -1,6 +1,6 @@
/* mpfr_integer_p -- test if a mpfr variable is integer.
-Copyright 2001-2004, 2006-2019 Free Software Foundation, Inc.
+Copyright 2001-2004, 2006-2020 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -50,7 +50,7 @@ mpfr_integer_p (mpfr_srcptr x)
xp = MPFR_MANT(x);
MPFR_ASSERTN(xn >= 0);
- if (xp[xn] << (expo % GMP_NUMB_BITS) != 0)
+ if (MPFR_LIMB_LSHIFT(xp[xn], expo % GMP_NUMB_BITS) != 0)
return 0;
while (--xn >= 0)
if (xp[xn] != 0)