8 ms·
Sure, it is, but the thing is that a hugely significant amount of the time I've seen those NaNs happen is because of a lack of understanding/care on the part of
by JoelMcCracken 7y ago
Sure, it is, but the thing is that a hugely significant amount of the time I've seen those NaNs happen is because of a lack of understanding/care on the part of the devs, and not because they are doing scientific computing.
There seem to be a large disconnect here. A big chunk of people don't need the speed that FP math brings, what they need is exactness. And, for most languages with a C-based lineage, actually correct floating point math support seems to fit in the "someday/maybe" categories.
- eru 7y agoYes, rational numbers are the better default choice. You should get floats only when you ask for them.
- JoelMcCracken 7y agoUnfortunately, for many languages, its the only real choice (without introducing some new significant dependency!)