The ability to compare any two real numbers is a fundamental axiom of mathematics.
The Trichotomy Property
This property states that for any two real numbers, 'a' and 'b', exactly one of the following three statements must be true:
It's impossible for more than one of these relationships to be true at the same time. Our calculator is a direct application of this principle.
Definition by Subtraction
Formally, the comparison can be defined by subtraction: