Re:0.30000000000000004
by danbruc on Sunday April 02, 2017 @06:02PM
(#14019289)
This unfortunately breaks with something like [+1, +1] / [-1, +1] which yields (-∞, -1] and [+1, +∞), the result falls into two separate intervals. Now you can either turn this into (-∞, +∞) or use sets of intervals instead of single intervals. The first option gives pretty useless results, the second one can become really slow and consume a lot of memory. You can make this work, but you have to be really careful what you are calculating and how you are doing it.
[ Parent
| on HN ]
Re:0.30000000000000004
by daurnimator on Sunday April 02, 2017 @08:41PM
(#14019892)
> The first option gives pretty useless results
Does it though? Wouldn't a result of `(-∞, +∞)` be a solid indication to go and reduce the range of your input parameters?