[Numpy-discussion] Re: numpy, overflow, inf, ieee, and rich , comparison
Fredrik Lundh
effbot at telia.com
Thu Oct 26 15:36:50 EDT 2000
jay wrote:
> But is integer division actually much faster than floating point division? I
> don't believe there is a fast algorithm for integer division.
On my PII, floating point division under Python is *faster* than
integer division (hint: look at the float_div and int_div functions,
and you'll understand why...)
(btw, my "wow" meant "wow, I've seen many strange arguments
in this thread, but not so many in one single paragraph...")
</F>
More information about the Python-list
mailing list