summaryrefslogtreecommitdiffstats
path: root/test/nextafter.c
diff options
context:
space:
mode:
authorEthan Werner <mail@ethanwerner.com>2026-08-09 15:02:21 +0400
committerEthan Werner <mail@ethanwerner.com>2026-08-09 15:02:21 +0400
commit3d92926a902017e7cf1f5738e99ff62da596ce12 (patch)
tree2b55422c26a48759d56fa91f06df24449e9dfa88 /test/nextafter.c
parent07e18043145f3d91c8ea7ec3ad41b3c905585277 (diff)
refactormain
Diffstat (limited to 'test/nextafter.c')
-rw-r--r--test/nextafter.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/nextafter.c b/test/nextafter.c
index c7e882b..eaa1f21 100644
--- a/test/nextafter.c
+++ b/test/nextafter.c
@@ -3,9 +3,9 @@
bool ts_test_nextafter( void )
{
- fp_t const x0[] = { 1.000000, 1.000000, 0.000000 };
- fp_t const x1[] = { 2.000000, 0.000000, 1.000000 };
- fp_t const e0[] = { 1.000000, 1.000000, 0.000000 };
+ fp_t const x0[] = { 1.000000, 2.000000, 10.000000 };
+ fp_t const x1[] = { 2.000000, 1.000000, 20.000000 };
+ fp_t const e0[] = { 1.0000000000000002, 1.9999999999999998, 10.000000000000002 };
fp_t const * const x[2] = { x0, x1 };
fp_t const * const e[1] = { e0 };