summaryrefslogtreecommitdiff
path: root/tests/tsum.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2020-08-21 13:31:33 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2020-08-21 13:31:33 +0000
commitcf07612e0309cb9ce623c74cd7933364a9ca2dce (patch)
tree4259496b625979543ed65533984088910ed81368 /tests/tsum.c
parent589e4748934cf2108be8564665f73bf1c4be4056 (diff)
downloadmpfr-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 'tests/tsum.c')
-rw-r--r--tests/tsum.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tsum.c b/tests/tsum.c
index 866465d2c..29561f433 100644
--- a/tests/tsum.c
+++ b/tests/tsum.c
@@ -59,7 +59,7 @@ get_prec_max (mpfr_t *t, int n)
}
static void
-get_exact_sum (mpfr_t sum, mpfr_t *tab, int n)
+get_exact_sum (mpfr_ptr sum, mpfr_t *tab, int n)
{
int i;
@@ -1198,7 +1198,7 @@ check_coverage (void)
}
static int
-mpfr_sum_naive (mpfr_t s, mpfr_t *x, int n, mpfr_rnd_t rnd)
+mpfr_sum_naive (mpfr_ptr s, mpfr_t *x, int n, mpfr_rnd_t rnd)
{
int ret, i;
switch (n)