3 ms·
Julia gives "Inf" and Inf+Inf =Inf and 1/Inf = 0.0 I prefer this because if you have a function converging on 0 then you will see growth towards Inf - then Inf
by sgt101 8y ago
Julia gives "Inf" and Inf+Inf =Inf and 1/Inf = 0.0
I prefer this because if you have a function converging on 0 then you will see growth towards Inf - then Inf - rather than growth followed by a cliff; which could then propagate into all your other calculations and move you from the very small to the very large in an instant.