3 ms·
Well, if you take Java for example, floating point measurements are only IEEE-754 when classes or methods are declared with the strictfp keyword, yet non-strict
by yock 16y ago
Well, if you take Java for example, floating point measurements are only IEEE-754 when classes or methods are declared with the strictfp keyword, yet non-strictfp floating point calculations are still imprecise because of the very nature of fractional math. They're just less imprecise by default. I agree with the sentiment others have posted that it is disappointing that this reality isn't more commonly taught in CS education.