diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2020-06-11 21:22:20 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2020-06-11 21:22:20 +0000 |
commit | 3a1ba696667522aefc77f7f53fa3c0b298f96795 (patch) | |
tree | 2b669d750c3b35d8a8a159a7b887794c3b952a87 /tests | |
parent | 798552b1d672f5c3c8508e946ce18c7c54922fb6 (diff) | |
download | mpfr-3a1ba696667522aefc77f7f53fa3c0b298f96795.tar.gz |
Renamed mpfr_total_order to mpfr_total_order_p for consistency with the
other predicates (by convention, the function name should end with _p).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13989 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ttotal_order.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/ttotal_order.c b/tests/ttotal_order.c index 9954f905c..125cc0e71 100644 --- a/tests/ttotal_order.c +++ b/tests/ttotal_order.c @@ -1,4 +1,4 @@ -/* Test file for mpfr_total_order. +/* Test file for mpfr_total_order_p. Copyright 2018-2020 Free Software Foundation, Inc. Contributed by the AriC and Caramba projects, INRIA. @@ -25,9 +25,9 @@ https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc., static void check1 (mpfr_ptr x, mpfr_ptr y) { - if (! mpfr_total_order (x, x)) + if (! mpfr_total_order_p (x, x)) { - printf ("Error on mpfr_total_order (x, x) with\n"); + printf ("Error on mpfr_total_order_p (x, x) with\n"); printf ("x = "); mpfr_dump (x); exit (1); @@ -35,9 +35,9 @@ check1 (mpfr_ptr x, mpfr_ptr y) mpfr_set (y, x, MPFR_RNDN); - if (! mpfr_total_order (x, y)) + if (! mpfr_total_order_p (x, y)) { - printf ("Error on mpfr_total_order (x, y) with\n"); + printf ("Error on mpfr_total_order_p (x, y) with\n"); printf ("x = "); mpfr_dump (x); printf ("y = "); @@ -49,9 +49,9 @@ check1 (mpfr_ptr x, mpfr_ptr y) static void check2 (mpfr_ptr x, mpfr_ptr y) { - if (! mpfr_total_order (x, y)) + if (! mpfr_total_order_p (x, y)) { - printf ("Error on mpfr_total_order (x, y) with\n"); + printf ("Error on mpfr_total_order_p (x, y) with\n"); printf ("x = "); mpfr_dump (x); printf ("y = "); @@ -59,9 +59,9 @@ check2 (mpfr_ptr x, mpfr_ptr y) exit (1); } - if (mpfr_total_order (y, x)) + if (mpfr_total_order_p (y, x)) { - printf ("Error on mpfr_total_order (y, x) with\n"); + printf ("Error on mpfr_total_order_p (y, x) with\n"); printf ("x = "); mpfr_dump (x); printf ("y = "); |