Floating Point Exceptions
16 Mar 2009As further evidence that floating point math is stranger than you think, consider the following code:
As further evidence that floating point math is stranger than you think, consider the following code:
C++ is a complex language, and although I thought I knew it pretty well, I’m continuing to find areas of the language that I either didn’t know or didn’t understand well enough. So, on the (possibly narcissistic) assumption that others may not know enough about them too, here’s a brief series of postings about them.
In “Why Chrome is Shiny,” Jonathan Edwards does a wonderful job of articulating the vague misgivings that I've had about the current rush of interest in web applications:
I found out today that a friend of mine was getting laid off.
Like many developers, I sometimes over-complicate my code, whether in an attempt to generalize and future-proof it or to just test out some new technique. In theory I know that over-complication is bad, but trying to do this in practice raises questions that I don't know how to answer. So, following a time-honored blogging tradition, I'm going to provide quotes from better known, more insightful people who address the topic, and I'll intersperse a few thoughts of my own so that I can act like I'm adding something to the discussion. (Each of the linked articles and papers is recommended reading for more treatment of this topic.)