diff --git a/conditional b/conditional new file mode 100644 index 0000000..1590076 --- /dev/null +++ b/conditional @@ -0,0 +1,6 @@ +int conditional(int x, int y, int z){ + x = !!x; + x = (x << 31) >> 31; + int res = (x & y) | ( (~x) & z); + return res; +}