I am creating an algorithm where a metric may take 3 values:
- Infinite
- Too large but not infinite
- Some number that is the result of a calculation
Now, math.inf handles the infinite.
The result of the third value has no determined borders. But, I want the second value to be always smaller than infinite and always larger than the third value. Therefore I cannot give it some very large number like 999999999999999 since there is always a possibility that the calculation may exceed it.
What I am looking for is another constant like Ellipsis of Python 2.
How can I make this happen?