Ian Kelly wrote: > On Sat, Jan 17, 2015 at 8:09 PM, Steven D'Aprano > <steve+comp.lang.pyt...@pearwood.info> wrote: >> I'm guessing that can only have come from the mindset of C/C++ >> programmers, where this sort of thing is considered acceptable: > > Maybe. The journal reference in the second link I posted dates the > practice back to at least 1975, a time predating K&R C, when it was > most notable as the language that Unix was written in. I wouldn't be > surprised if this actually originated from Fortran.
Ah, the good old days, when computer designers built machines where 1.0*X could overflow and X-0.0 could underflow. -- Steven -- https://mail.python.org/mailman/listinfo/python-list