A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-April/003175.html below:

[Python-Dev] re: division

[Python-Dev] re: division [Python-Dev] re: divisiongvwilson@nevex.com gvwilson@nevex.com
Thu, 6 Apr 2000 07:31:26 -0400 (EDT)
> > [Greg Ward]
> > > In other words:
> > > 
> > >   5 div 3 = 5.__div__(3)  = operator.div(5,3)  = 1
> > >   5 / 3   = 5.__fdiv__(3) = operator.fdiv(5,3) = 1.6666667

+1.  Should 'mod' be made a synonym for '%' for symmetry's sake?

Greg




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4