diff options
author | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2022-02-21 01:50:12 +0100 |
---|---|---|
committer | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2022-02-21 01:50:12 +0100 |
commit | 3c188d04bbeacc51e15bcf9fcb56b14f83612801 (patch) | |
tree | 0b28685d8f60d5fbe73f30713b6fdd85a06caf6c /mpz | |
parent | 5a0f4196ec15a5cea8c3f81c0eae3c83dfa42c3d (diff) | |
download | gmp-3c188d04bbeacc51e15bcf9fcb56b14f83612801.tar.gz |
Copyright years
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; |