aboutsummaryrefslogtreecommitdiff
path: root/tests/divr_u64.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/divr_u64.c')
-rw-r--r--tests/divr_u64.c34
1 files changed, 17 insertions, 17 deletions
diff --git a/tests/divr_u64.c b/tests/divr_u64.c
index c97c0b1..8753066 100644
--- a/tests/divr_u64.c
+++ b/tests/divr_u64.c
@@ -18,30 +18,30 @@ int main(int argc, char *argv[])
ejit_select_compile_func(f, 2, 0, EJIT_USE64(long), do_jit);
assert(erf2(f, EJIT_ARG(0x7fffffff, long), EJIT_ARG(1, long)
- ) == 0x7fffffff);
+ ) == 0x7fffffff);
assert(erf2(f, EJIT_ARG(0x80000000, long), EJIT_ARG(1, long)
- ) == 0x80000000);
+ ) == 0x80000000);
assert(erf2(f, EJIT_ARG(0x7fffffff, long), EJIT_ARG(2, long)
- ) == 0x3fffffff);
+ ) == 0x3fffffff);
assert(erf2(f, EJIT_ARG(0x80000000, long), EJIT_ARG(2, long)
- ) == 0x40000000);
+ ) == 0x40000000);
assert(erf2(f, EJIT_ARG(0x7fffffff, long), EJIT_ARG(0x80000000, long)
- ) == 0);
+ ) == 0);
assert(erf2(f, EJIT_ARG(0x80000000, long), EJIT_ARG(0x7fffffff, long)
- ) == 1);
+ ) == 1);
assert(erf2(f, EJIT_ARG(0x7fffffff, long), EJIT_ARG(0xffffffff, long)
- ) == 0);
+ ) == 0);
assert(erf2(f, EJIT_ARG(0xffffffff, long), EJIT_ARG(0x7fffffff, long)
- ) == 2);
+ ) == 2);
assert(erf2(f, EJIT_ARG(0xffffffff, long), EJIT_ARG(0xffffffff, long)
- ) == 1);
+ ) == 1);
assert(erf2(f, EJIT_ARG(1, long), EJIT_ARG(0x7fffffff, long)) == 0);
assert(erf2(f, EJIT_ARG(1, long), EJIT_ARG(0x80000000, long)) == 0);
@@ -49,28 +49,28 @@ int main(int argc, char *argv[])
assert(erf2(f, EJIT_ARG(2, long), EJIT_ARG(0x80000000, long)) == 0);
assert(erf2(f, EJIT_ARG(0, long), EJIT_ARG(0x7fffffff, long)) == 0);
assert(erf2(f, EJIT_ARG(0x7fffffffffffffff, long), EJIT_ARG(1, long)
- ) == 0x7fffffffffffffff);
+ ) == 0x7fffffffffffffff);
assert(erf2(f, EJIT_ARG(0x8000000000000000, long), EJIT_ARG(1, long)
- ) == (int64_t)0x8000000000000000);
+ ) == (int64_t)0x8000000000000000);
assert(erf2(f, EJIT_ARG(0x7fffffffffffffff, long), EJIT_ARG(2, long)
- ) == 0x3fffffffffffffff);
+ ) == 0x3fffffffffffffff);
assert(erf2(f, EJIT_ARG(0x8000000000000000, long), EJIT_ARG(2, long)
- ) == 0x4000000000000000);
+ ) == 0x4000000000000000);
assert(erf2(f, EJIT_ARG(1, long), EJIT_ARG(0x7fffffffffffffff, long)
- ) == 0);
+ ) == 0);
assert(erf2(f, EJIT_ARG(1, long), EJIT_ARG(0x8000000000000000, long)
- ) == 0);
+ ) == 0);
assert(erf2(f, EJIT_ARG(2, long), EJIT_ARG(0x7fffffffffffffff, long)
- ) == 0);
+ ) == 0);
assert(erf2(f, EJIT_ARG(2, long), EJIT_ARG(0x8000000000000000, long)
- ) == 0);
+ ) == 0);
assert(erf2(f,
EJIT_ARG(0x7fffffffffffffff, long),