Bug in floating point multiplication
steve at pearwood.info
Thu Jul 2 17:41:51 CEST 2015
On Fri, 3 Jul 2015 01:34 am, Chris Angelico wrote:
> From previous discussions I happen to know that Steven normally runs
> everything with "from __future__ import division" active (and possibly
> others? not sure), so just assume he means to work with floats here.
> Steven, I think this is one of the downsides of using future
> directives by default - you forget that your code can't always be
> copied and pasted to other people :)
/me hangs his head in shame
Yes, you've diagnosed the problem correctly. Sorry for the confusion.
More information about the Python-list