From 84e1db5df779cff97b211a773ae2577abb99fa32 Mon Sep 17 00:00:00 2001 From: Torbjorn Granlund Date: Mon, 28 Nov 2011 16:35:07 +0100 Subject: Use CNST_LIMB for some constants. --- mpn/generic/udiv_w_sdiv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mpn/generic/udiv_w_sdiv.c b/mpn/generic/udiv_w_sdiv.c index c01f95847..ceefd1b5f 100644 --- a/mpn/generic/udiv_w_sdiv.c +++ b/mpn/generic/udiv_w_sdiv.c @@ -9,7 +9,7 @@ GNU MP RELEASE. -Copyright 1992, 1994, 1996, 2000 Free Software Foundation, Inc. +Copyright 1992, 1994, 1996, 2000, 2011 Free Software Foundation, Inc. This file is part of the GNU MP Library. @@ -116,12 +116,12 @@ mpn_udiv_w_sdiv (rp, a1, a0, d) { /* Hence a1 = d - 1 = 2*b1 - 1 */ if (a0 >= -d) { - q = -1; + q = -CNST_LIMB(1); r = a0 + d; } else { - q = -2; + q = -CNST_LIMB(2); r = a0 + 2*d; } } -- cgit v1.2.1