From 6a6e93bc293575c2f9afa85c73f946e6450e53bd Mon Sep 17 00:00:00 2001 From: Pierre Wendling Date: Sat, 21 May 2022 23:11:40 -0400 Subject: [PATCH] Test: Add +/-0.0 tests to Acos. --- test/testautomation_math.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/test/testautomation_math.c b/test/testautomation_math.c index 9ae968ed7..6aa9ba065 100644 --- a/test/testautomation_math.c +++ b/test/testautomation_math.c @@ -2137,15 +2137,17 @@ static int acos_precisionTest(void *args) { const d_to_d precision_cases[] = { - { 0.1, 14706289056.0 }, - { 0.2, 13694384060.0 }, - { 0.3, 12661036727.0 }, - { 0.4, 11592794807.0 }, - { 0.5, 10471975511.0 }, - { 0.6, 9272952180.0 }, - { 0.7, 7953988301.0 }, - { 0.8, 6435011087.0 }, { 0.9, 4510268117.0 }, + { 0.8, 6435011087.0 }, + { 0.7, 7953988301.0 }, + { 0.6, 9272952180.0 }, + { 0.5, 10471975511.0 }, + { 0.4, 11592794807.0 }, + { 0.3, 12661036727.0 }, + { 0.2, 13694384060.0 }, + { 0.1, 14706289056.0 }, + { 0.0, 15707963267.0 }, + { -0.0, 15707963267.0 }, { -0.1, 16709637479.0 }, { -0.2, 17721542475.0 }, { -0.3, 18754889808.0 },