summaryrefslogtreecommitdiff
path: root/mpfr/tests/tswap.c
diff options
context:
space:
mode:
Diffstat (limited to 'mpfr/tests/tswap.c')
-rw-r--r--mpfr/tests/tswap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mpfr/tests/tswap.c b/mpfr/tests/tswap.c
index b397c9742..4088d8851 100644
--- a/mpfr/tests/tswap.c
+++ b/mpfr/tests/tswap.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_swap.
-Copyright (C) 2000, 2001 Free Software Foundation, Inc.
+Copyright 2000, 2001 Free Software Foundation, Inc.
This file is part of the MPFR Library.
@@ -15,7 +15,7 @@ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
You should have received a copy of the GNU Lesser General Public License
-along with the MPFR Library; see the file COPYING.LIB. If not, write to
+along with the MPFR Library; see the file COPYING. If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
MA 02111-1307, USA. */
@@ -35,7 +35,7 @@ main (void)
mpfr_set_d (v, 9007199254740991.0, GMP_RNDN); /* 2^53 - 1 */
mpfr_swap (u, v);
mpfr_swap (u, v);
- if (mpfr_cmp_ui (u, 16777215) || (mpfr_get_d (v) != 9007199254740991.0)) {
+ if (mpfr_cmp_ui (u, 16777215) || (mpfr_get_d1 (v) != 9007199254740991.0)) {
fprintf (stderr, "Error in mpfr_swap\n");
exit (1);
}