3 ms·
Errr that's exactly what the page implies; it does not say nor imply "those that display .3 are doing it correctly internaly". One of the cardinal rule of floa
by nolok 11y ago
Errr that's exactly what the page implies; it does not say nor imply "those that display .3 are doing it correctly internaly".
One of the cardinal rule of floating point in computing is that you never do direct comparison between values, whatever the language, so your test should never ever be used.
That doesn't mean a language cannot be allowed to infer what the correct display of a floating point value should be.
- deleted 11y ago[deleted]