[racket-dev] Apple today

From: Philippe Meunier (meunier at ccs.neu.edu)
Date: Tue Jun 3 11:03:31 EDT 2014

Matthias Felleisen wrote:
>I should keep it around as a bad example.

Speaking of bad examples, here's another one I randomly heard about
today.  It's about some floating point function written in C that
didn't compute the correct result in some cases.  When some people
tried to figure out the reason for the problem, they found the
following comment in the code:

"The double case was intentionally left broken as an optimization"

The original sentence is in the first paragraph, here:
http://svnweb.freebsd.org/base/head/lib/msun/src/math_private.h?revision=240827&view=markup

Philippe



Posted on the dev mailing list.