"A failure in the hot air department"
Full blog index.
Friday Q&A 2011-01-04: Practical Floating Point at 2011-01-14 16:33
Welcome to the first Friday Q&A of the new year. For the first post of
0x7DB, I decided to write about practical floating point, a topic suggested by Phil Holland.
What Every Programmer Should Know at 2006-02-21 00:00
I have a short post for once! I happened to be talking about floating-point comparisons, and I trotted out my usual web page explaining all about floating-point calculation and error. And then I thought, this stuff is so essential, I ought to post it here as well. So without further ado: What Every Computer Scientist Should Know About Floating-Point Arithmetic. A bit heavy on the math, but if you've ever wondered why printing out 10.1 gives you 10.1000002, or why 1.0/10.0 * 5.0 != 1.0/2.0, this will explain it all.