aboutsummaryrefslogtreecommitdiff
path: root/tests/divr_f.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-07-13 20:56:26 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-07-13 20:56:26 +0300
commitae9e103995c1d809be7b8717905593e7dbbf9d17 (patch)
tree0ceaf6ee66e1d67bb8d0b9dd6f37b5687e4c2f09 /tests/divr_f.c
parente618924df98d4ee5037db86c768a8c8014e49c4c (diff)
downloadejit-ae9e103995c1d809be7b8717905593e7dbbf9d17.tar.gz
ejit-ae9e103995c1d809be7b8717905593e7dbbf9d17.zip
bytecode tests pass
Diffstat (limited to 'tests/divr_f.c')
-rw-r--r--tests/divr_f.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/divr_f.c b/tests/divr_f.c
index 081c63d..980844b 100644
--- a/tests/divr_f.c
+++ b/tests/divr_f.c
@@ -15,13 +15,13 @@ int main()
ejit_select_compile_func(f, 0, 2, EJIT_USE64(double), do_jit);
- assert(ejit_run_func_2(f,
- EJIT_ARG(-0.5f, double),
- EJIT_ARG(0.5f, double)) == -1.0f);
+ assert(erff2(f,
+ EJIT_ARG(-0.5f, double),
+ EJIT_ARG(0.5f, double)) == -1.0f);
- assert(ejit_run_func_2(f,
- EJIT_ARG(1.25f, double),
- EJIT_ARG(0.5f, double)) == 2.5f);
+ assert(erff2(f,
+ EJIT_ARG(1.25f, double),
+ EJIT_ARG(0.5f, double)) == 2.5f);
ejit_destroy_func(f);
}