Integer division, surprising results
Greg Ewing
greg at cosc.canterbury.ac.nz
Wed May 12 23:10:13 EDT 2004
Tim Peters wrote:
> For example, C99 mandates "the wrong" behavior here (where C89 was
> silent), and for no reason other than "because that's what Fortran did".
This kind of idiocy seems to be all too common. I was
disappointed when Think Pascal changed from the right
way to the wrong way, apparently to be compatible with
some ill-considered Pascal "standard".
--
Greg Ewing, Computer Science Dept,
University of Canterbury,
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg
More information about the Python-list
mailing list