Wheel calculator

Division by zero is defined. This is the wheel of fractions over Z/2Z: + is xor, · is and, and the carrier is 0, 1, ∞ = 1/0, ⊥ = 0/0.

In plain terms: ∞ is the value of dividing by zero, and ⊥ means “no value” — the calculation has no answer at all. Ordinary arithmetic stops with an error at that point; the wheel reports ⊥ instead.

Evaluate

Try

Enter an expression above. 1/0 is ∞, 0/0 is ⊥ (“no value”), and every result is computed in your browser, not looked up.

Explainer

Evaluate an expression to see each wheel operation, then the same expression under conventional field arithmetic.

Cayley tables

Rows are the left operand, columns the right operand. Hover a cell to trace its row and column to the result; hover a header to light the whole row or column. The last table shows the unary rows /x and −x.

Loading tables…