diff options
Diffstat (limited to 'tests/absr_f.c')
-rw-r--r-- | tests/absr_f.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/absr_f.c b/tests/absr_f.c index 876d82c..ec3a5f1 100644 --- a/tests/absr_f.c +++ b/tests/absr_f.c @@ -14,9 +14,9 @@ int main(int argc, char *argv[]) ejit_retr_f(f, EJIT_FPR(0)); ejit_select_compile_func(f, 0, 1, false, do_jit); - assert(ejit_run_func_f_1(f, EJIT_ARG(0.0, float)) == 0.0); - assert(ejit_run_func_f_1(f, EJIT_ARG(-0.0, float)) == 0.0); - assert(ejit_run_func_f_1(f, EJIT_ARG(0.5, float)) == 0.5); - assert(ejit_run_func_f_1(f, EJIT_ARG(-0.5, float)) == 0.5); + assert(erff1(f, EJIT_ARG(0.0, float)) == 0.0); + assert(erff1(f, EJIT_ARG(-0.0, float)) == 0.0); + assert(erff1(f, EJIT_ARG(0.5, float)) == 0.5); + assert(erff1(f, EJIT_ARG(-0.5, float)) == 0.5); ejit_destroy_func(f); } |