From 02608271bb2a9f3a65ed536984d306ee14b48e34 Mon Sep 17 00:00:00 2001 From: Geo Halkiadakis Date: Sun, 12 Jul 2026 15:51:52 +0300 Subject: initialize repository; add docker config; migrate configuration to new specs --- tests/code/bits.php | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100755 tests/code/bits.php (limited to 'tests/code/bits.php') diff --git a/tests/code/bits.php b/tests/code/bits.php new file mode 100755 index 0000000..1ee1826 --- /dev/null +++ b/tests/code/bits.php @@ -0,0 +1,51 @@ +'; + + +$a = 1; +$b = 2; +$c = 4; + +echo "\n\n(a|b)&...\n---\n"; +echo ($a|$b)&$a; +echo "\n"; +echo ($a|$b)&$b; +echo "\n"; +echo ($a|$b)&$c; + +echo "\n\n(b|c)&...\n---\n"; +echo ($b|$c)&$a; +echo "\n"; +echo ($b|$c)&$b; +echo "\n"; +echo ($b|$c)&$c; + +echo "\n\n(a|b|c)&...\n---\n"; +echo ($a|$b|$c)&$a; +echo "\n"; +echo ($a|$b|$c)&$b; +echo "\n"; +echo ($a|$b|$c)&$c; +echo "\n"; + + +/* + +3 +--- +%2 = 1 then a +/2 = 1 + +%2 = 1 then b +0 end + + +6 +--- +%2 = 0 NOT A +/2 = 3 + +%2 = + + +*/ \ No newline at end of file -- cgit v1.2.3