by thaumasiotes · 4y ago · 0 comments
I feel certain that if you run a process that approaches infinity using ordinary floating-point numbers, you will actually reach infinity. This is a case ("can a calculation yield an infinite result?") where computers have less of a problem than people do.
You'd have to deal with the question of whether the infinite value accurately reflected an infinite limit of the process or whether it was spurious. But there's no difficulty in calculating infinite values.
And at any rate, "infinity" is not a single value to be reached.
Take an analysis class and you'll understand this better!
But more likely, the program would have to be built where it understands the symbolic forms involved, more like a proof solver than simple cfd math.
https://en.wikipedia.org/wiki/Quadruple-precision_floating-p...
There are ways of getting floating point infinity which doesn't involve overflow like dividing by there. But with exception of most trivial cases you have the same problem. You can't know whether you had actual 0 or value closer to 0 than what floating point can represent.
All of that of course depends on how floating point unit or calculation environment is configured. It's probably possible to configure it so that overflows/underflows report an error instead of simply returning "inf".
The "Inf" interpretation, of, eg., 11111111111111111 isnt infinity.
And, in general, almost every function isnt representable on the discrete domain above.
floats are a hacky interpretation of discrete bit patterns
> The "Inf" interpretation, of, eg., 11111111111111111 isnt infinity.
This is incoherent nonsense. If you want to say that the floating point value "infinity" isn't really infinity, you must also say that nothing else is really infinity either. That is true in a completely useless and uninformative sense, but it's false in every sense a person would ever use. And it fails to distinguish the correct mathematical proof demonstrating an infinite limit from the simulation suggesting, but not demonstrating, an infinite limit. Neither of them is really infinity. Each of them can represent infinity just as accurately as the other, though.
A paper is just a function from a bounded countable subset of ℝ² to another bounded countable subset of ℝ². What would you conclude, from that, about the limitations of what you can represent on paper?
0 11111111111 0000000000000000000000000000000000000000000000000000 (base 2) ≙ 7FF0 0000 0000 0000 (base 16) ≙ +∞ (positive infinity)
1 11111111111 0000000000000000000000000000000000000000000000000000 (base 2) ≙ FFF0 0000 0000 0000 (base 16) ≙ −∞ (negative infinity)