Q: Feature Wish: "%" Extension
wurmy at earthlink.net
Wed Nov 7 14:13:53 CET 2001
Rainer Deyke wrote:
> "John Roth" <johnroth at ameritech.net> wrote in message
> news:tugphsjop81s04 at news.supernews.com...
> > Integer division is not an inverse of integer multiplication, therefore
> > the proposed counterexample fails.
> What do you mean? '(a * b) / b' equals 'a' for all integers 'a' and 'b'
> (assuming 'a * b' evaluates without overflow), except when 'b' equals 0.
I think the idea is that (a / b) * b does not equal a in current
>>> (9 / 4) * 4
More information about the Python-list