diff options
Diffstat (limited to 'mpz')
-rw-r--r-- | mpz/gcd_ui.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/mpz/gcd_ui.c b/mpz/gcd_ui.c index 1e7976ba2..64aa46d46 100644 --- a/mpz/gcd_ui.c +++ b/mpz/gcd_ui.c @@ -1,6 +1,6 @@ /* mpz_gcd_ui -- Calculate the greatest common divisor of two integers. -Copyright 1994, 1996, 1999-2004, 2015 Free Software Foundation, Inc. +Copyright 1994, 1996, 1999-2004, 2015, 2022 Free Software Foundation, Inc. This file is part of the GNU MP Library. @@ -44,12 +44,12 @@ mpz_gcd_ui (mpz_ptr w, mpz_srcptr u, unsigned long int v) mp_limb_t vlimbs[2], wlimbs[2]; if (w == NULL) - { - PTR(lw) = wlimbs; - ALLOC(lw) = 2; - SIZ(lw) = 0; - w = lw; - } + { + PTR(lw) = wlimbs; + ALLOC(lw) = 2; + SIZ(lw) = 0; + w = lw; + } vlimbs[0] = v & GMP_NUMB_MASK; vlimbs[1] = v >> GMP_NUMB_BITS; PTR(vz) = vlimbs; |