See Inside Outputs 1 as true and 0 as false Recreated the booleans (and, or, =, <, >, not) available using only mathematical functions. Helpful for removing if statements. And, Or, and Not won't work properly if a and b aren't 1 or 0.