> How do you need to extend comparison to account for them?
The post already says: −∞ < x < ∞ for all numerical x. (And the mathematician in me clarifies that that's all real numerical x.)
The post already says: −∞ < x < ∞ for all numerical x. (And the mathematician in me clarifies that that's all real numerical x.)
Or, you can use a range which is a sum of three/four cases, and not worry about any of that.
> If it is over the reals, sure, you can use -∞ and ∞. If it is over the integers, you can use MIN_VALUE and MAX_VALUE
If you already knew the answer, why did you ask?