News for hackers. Stuff that matters.
Re:Let the Type System do the Work by fulafel on Monday April 21, 2014 @05:07PM (#7623883)
Floating point has dramatic differences in semantics compared to exact numbers, not an invisible implementation detail at all.
Re:Let the Type System do the Work by tormeh on Monday April 21, 2014 @05:24PM (#7624002)
Unless you're counting money or doing long-running simulations it's often more than good enough, especially Double.
Re:Let the Type System do the Work by dllthomas on Tuesday April 22, 2014 @06:40AM (#7626827)
Or doing discrete math, though you wouldn't be with a continuous quantity like Kilograms.