From 978b0db2e99e5be4c9d934a28d299fdf44e035e2 Mon Sep 17 00:00:00 2001 From: Geolm Date: Mon, 22 Jan 2024 11:25:07 -0500 Subject: [PATCH] updating atan2 test --- tests/test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.c b/tests/test.c index d42a2f2..2405e12 100644 --- a/tests/test.c +++ b/tests/test.c @@ -110,14 +110,14 @@ SUITE(trigonometry) RUN_TESTp(generic_test, acosf, mm256_acos_ps, -1.f, 1.f, 1.e-06f, NUM_SAMPLES, false, "mm256_acos_ps"); RUN_TESTp(generic_test, asinf, mm256_asin_ps, -1.f, 1.f, 1.e-06f, NUM_SAMPLES, false, "mm256_asin_ps"); RUN_TESTp(generic_test, atanf, mm256_atan_ps, -10.f, 10.f, 1.e-04f, NUM_SAMPLES, false, "mm256_atan_ps"); - RUN_TESTp(generic_test, atan2_angle, simd_atan2, 0.1f, 3.14f, 3.e-07f, NUM_SAMPLES, false, "mm256_atan2_ps"); + RUN_TESTp(generic_test, atan2_angle, simd_atan2, 0.f, 6.28318530f, 3.e-07f, 32768, false, "mm256_atan2_ps"); #else RUN_TESTp(generic_test, sinf, vsinq_f32, -10.f, 10.f, FLT_EPSILON, NUM_SAMPLES, false, "vsinq_f32"); RUN_TESTp(generic_test, cosf, vcosq_f32, -10.f, 10.f, FLT_EPSILON, NUM_SAMPLES, false, "vcosq_f32"); RUN_TESTp(generic_test, acosf, vacosq_f32, -1.f, 1.f, 1.e-06f, NUM_SAMPLES, false, "vacosq_f32"); RUN_TESTp(generic_test, asinf, vasinq_f32, -1.f, 1.f, 1.e-06f, NUM_SAMPLES, false, "vasinq_f32"); RUN_TESTp(generic_test, atanf, vatanq_f32, -10.f, 10.f, 1.e-04f, NUM_SAMPLES, false, "vatanq_f32"); - RUN_TESTp(generic_test, atan2_angle, simd_atan2, 0.1f, 3.14f, 3.e-07f, NUM_SAMPLES, false, "vatan2q_f32"); + RUN_TESTp(generic_test, atan2_angle, simd_atan2, 0.f, 6.28318530f, 3.e-07f, 32768, false, "vatan2q_f32"); #endif }