diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2020-08-21 13:31:33 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2020-08-21 13:31:33 +0000 |
commit | cf07612e0309cb9ce623c74cd7933364a9ca2dce (patch) | |
tree | 4259496b625979543ed65533984088910ed81368 /src/set_uj.c | |
parent | 589e4748934cf2108be8564665f73bf1c4be4056 (diff) | |
download | mpfr-cf07612e0309cb9ce623c74cd7933364a9ca2dce.tar.gz |
[src,tests] Consistency: in prototypes, changed
const mpfr_t to mpfr_srcptr
mpfr_t to mpfr_ptr
(except for mpfr_t *), as this is equivalent (the array is converted
to a pointer) and the mpfr_srcptr/mpfr_ptr form is the usual one.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@14103 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/set_uj.c')
-rw-r--r-- | src/set_uj.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/set_uj.c b/src/set_uj.c index 4dab72e19..d69d3d391 100644 --- a/src/set_uj.c +++ b/src/set_uj.c @@ -29,13 +29,13 @@ https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc., #define uintmaxpml (sizeof(uintmax_t) / sizeof(mp_limb_t)) int -mpfr_set_uj (mpfr_t x, uintmax_t j, mpfr_rnd_t rnd) +mpfr_set_uj (mpfr_ptr x, uintmax_t j, mpfr_rnd_t rnd) { return mpfr_set_uj_2exp (x, j, 0, rnd); } int -mpfr_set_uj_2exp (mpfr_t x, uintmax_t j, intmax_t e, mpfr_rnd_t rnd) +mpfr_set_uj_2exp (mpfr_ptr x, uintmax_t j, intmax_t e, mpfr_rnd_t rnd) { int cnt, inex; mp_size_t i, k; |