summaryrefslogtreecommitdiff
path: root/tests/tsqr.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/tsqr.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/tsqr.c')
-rw-r--r--tests/tsqr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tsqr.c b/tests/tsqr.c
index 4907d6433..4cafcc617 100644
--- a/tests/tsqr.c
+++ b/tests/tsqr.c
@@ -33,7 +33,7 @@ inexact_sign (int x)
static void
error1 (mpfr_rnd_t rnd, mpfr_prec_t prec,
- mpfr_t in, mpfr_t outmul, mpfr_t outsqr)
+ mpfr_t in, mpfr_ptr outmul, mpfr_ptr outsqr)
{
printf("ERROR: for %s and prec=%lu\nINPUT=", mpfr_print_rnd_mode(rnd),
(unsigned long) prec);
@@ -44,7 +44,7 @@ error1 (mpfr_rnd_t rnd, mpfr_prec_t prec,
}
static void
-error2 (mpfr_rnd_t rnd, mpfr_prec_t prec, mpfr_t in, mpfr_t out,
+error2 (mpfr_rnd_t rnd, mpfr_prec_t prec, mpfr_ptr in, mpfr_ptr out,
int inexactmul, int inexactsqr)
{
printf("ERROR: for %s and prec=%lu\nINPUT=", mpfr_print_rnd_mode(rnd),