Measuring distance between two points - Pathological Real Functions | Zoonk
Measuring distance between two points
Measure how far apart two real numbers are with |x - y|. Check that distance is always nonnegative, symmetric, and equal to 0 only when the two numbers are the same.