aboutsummaryrefslogtreecommitdiff
path: root/tests/beqr_f.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-07-14 16:15:37 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-07-14 16:16:25 +0300
commitcf2459d4cab72e3e0072fdf76ca2f5d8f9593f78 (patch)
tree7a0cd9342047cd2a308d08c6def7bb91e2e83805 /tests/beqr_f.c
parentdcca95ebeef7ad047b437c7e65bcd2d33784cae4 (diff)
downloadejit-cf2459d4cab72e3e0072fdf76ca2f5d8f9593f78.tar.gz
ejit-cf2459d4cab72e3e0072fdf76ca2f5d8f9593f78.zip
jit tests pass (kind of) on x86_64
Diffstat (limited to 'tests/beqr_f.c')
-rw-r--r--tests/beqr_f.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/beqr_f.c b/tests/beqr_f.c
index 00bd84c..9444284 100644
--- a/tests/beqr_f.c
+++ b/tests/beqr_f.c
@@ -24,28 +24,28 @@ int main(int argc, char *argv[])
ejit_select_compile_func(f, 0, 2, EJIT_USE64(float), do_jit);
assert(erf2(f, EJIT_ARG(0, float), EJIT_ARG(0, float)
- ) == 1);
+ ) == 1);
assert(erf2(f, EJIT_ARG(0, float), EJIT_ARG(1, float)
- ) == 0);
+ ) == 0);
assert(erf2(f, EJIT_ARG(1, float), EJIT_ARG(0, float)
- ) == 0);
+ ) == 0);
assert(erf2(f, EJIT_ARG(-1, float), EJIT_ARG(0, float)
- ) == 0);
+ ) == 0);
assert(erf2(f, EJIT_ARG(0, float), EJIT_ARG(-1, float)
- ) == 0);
+ ) == 0);
assert(erf2(f, EJIT_ARG(1, float), EJIT_ARG(1, float)
- ) == 1);
+ ) == 1);
assert(erf2(f, EJIT_ARG(0, float), EJIT_ARG(0.0/0.0, float)
- ) == 0);
+ ) == 0);
assert(erf2(f, EJIT_ARG(0.0/0.0, float), EJIT_ARG(0, float)
- ) == 0);
+ ) == 0);
ejit_destroy_func(f);
}