aboutsummaryrefslogtreecommitdiff
path: root/tests/absr_d.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2025-03-14 21:08:01 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2025-03-14 21:08:01 +0200
commitf5c729ea59d227a507f83bd94d07f4366b46d72b (patch)
tree70d1f242100cea09acd38a71ff8c821836117cfd /tests/absr_d.c
parent57f6b41047e95374701ee276248f0f8615168450 (diff)
downloadejit-f5c729ea59d227a507f83bd94d07f4366b46d72b.tar.gz
ejit-f5c729ea59d227a507f83bd94d07f4366b46d72b.zip
start supporting 32bit arches
Diffstat (limited to 'tests/absr_d.c')
-rw-r--r--tests/absr_d.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/absr_d.c b/tests/absr_d.c
index 20424a7..e999a1c 100644
--- a/tests/absr_d.c
+++ b/tests/absr_d.c
@@ -14,9 +14,9 @@ int main(int argc, char *argv[])
ejit_retr_d(f, EJIT_FPR(0));
ejit_select_compile_func(f, 0, 1, false, do_jit);
- assert(erff1(f, EJIT_ARG(0.0, double)) == 0.0);
- assert(erff1(f, EJIT_ARG(-0.0, double)) == 0.0);
- assert(erff1(f, EJIT_ARG(0.5, double)) == 0.5);
- assert(erff1(f, EJIT_ARG(-0.5, double)) == 0.5);
+ assert(erfd1(f, EJIT_ARG(0.0, double)) == 0.0);
+ assert(erfd1(f, EJIT_ARG(-0.0, double)) == 0.0);
+ assert(erfd1(f, EJIT_ARG(0.5, double)) == 0.5);
+ assert(erfd1(f, EJIT_ARG(-0.5, double)) == 0.5);
ejit_destroy_func(f);
}