summaryrefslogtreecommitdiff
path: root/sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c')
-rw-r--r--sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c b/sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
index 6412e1781d..b275dc5a1e 100644
--- a/sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
+++ b/sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
@@ -1,5 +1,5 @@
/* Test totalorderl and totalordermagl for ldbl-128ibm.
- Copyright (C) 2016-2018 Free Software Foundation, Inc.
+ Copyright (C) 2016-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -14,7 +14,7 @@
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see
- <http://www.gnu.org/licenses/>. */
+ <https://www.gnu.org/licenses/>. */
#include <math.h>
#include <math_ldbl.h>
@@ -46,8 +46,8 @@ do_test (void)
{
long double ldx = ldbl_pack (tests[i].hi, tests[i].lo1);
long double ldy = ldbl_pack (tests[i].hi, tests[i].lo2);
- bool to1 = totalorderl (ldx, ldy);
- bool to2 = totalorderl (ldy, ldx);
+ bool to1 = totalorderl (&ldx, &ldy);
+ bool to2 = totalorderl (&ldy, &ldx);
if (to1 && to2)
printf ("PASS: test %zu\n", i);
else
@@ -55,8 +55,8 @@ do_test (void)
printf ("FAIL: test %zu\n", i);
result = 1;
}
- to1 = totalordermagl (ldx, ldy);
- to2 = totalordermagl (ldy, ldx);
+ to1 = totalordermagl (&ldx, &ldy);
+ to2 = totalordermagl (&ldy, &ldx);
if (to1 && to2)
printf ("PASS: test %zu (totalordermagl)\n", i);
else