From f5c729ea59d227a507f83bd94d07f4366b46d72b Mon Sep 17 00:00:00 2001 From: Kimplul Date: Fri, 14 Mar 2025 21:08:01 +0200 Subject: start supporting 32bit arches --- tests/beqr_d.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'tests/beqr_d.c') diff --git a/tests/beqr_d.c b/tests/beqr_d.c index 62e4269..b7e401e 100644 --- a/tests/beqr_d.c +++ b/tests/beqr_d.c @@ -23,15 +23,15 @@ int main(int argc, char *argv[]) ejit_select_compile_func(f, 0, 2, EJIT_USE64(double), do_jit); - assert(erf2(f, EJIT_ARG(0, double), EJIT_ARG(0, double)) == 1); - assert(erf2(f, EJIT_ARG(0, double), EJIT_ARG(1, double)) == 0); - assert(erf2(f, EJIT_ARG(1, double), EJIT_ARG(0, double)) == 0); - assert(erf2(f, EJIT_ARG(-1, double), EJIT_ARG(0, double)) == 0); - assert(erf2(f, EJIT_ARG(0, double), EJIT_ARG(-1, double)) == 0); - assert(erf2(f, EJIT_ARG(1, double), EJIT_ARG(1, double)) == 1); - - assert(erf2(f, EJIT_ARG(0, double), EJIT_ARG(0.0/0.0, double)) == 0); - assert(erf2(f, EJIT_ARG(0.0/0.0, double), EJIT_ARG(0, double)) == 0); + assert(erfi2(f, EJIT_ARG(0, double), EJIT_ARG(0, double)) == 1); + assert(erfi2(f, EJIT_ARG(0, double), EJIT_ARG(1, double)) == 0); + assert(erfi2(f, EJIT_ARG(1, double), EJIT_ARG(0, double)) == 0); + assert(erfi2(f, EJIT_ARG(-1, double), EJIT_ARG(0, double)) == 0); + assert(erfi2(f, EJIT_ARG(0, double), EJIT_ARG(-1, double)) == 0); + assert(erfi2(f, EJIT_ARG(1, double), EJIT_ARG(1, double)) == 1); + + assert(erfi2(f, EJIT_ARG(0, double), EJIT_ARG(0.0/0.0, double)) == 0); + assert(erfi2(f, EJIT_ARG(0.0/0.0, double), EJIT_ARG(0, double)) == 0); ejit_destroy_func(f); } -- cgit v1.2.3