[Numpy-discussion] sign of modulo
focke at SLAC.Stanford.EDU
Fri Oct 12 11:09:11 EDT 2001
On Fri, 12 Oct 2001, Eric Nodwell wrote:
> The Numpy version of modulo uses a different sign convention for
> negative arguments than does Python itself:
> Is there a reason for this (hard to imagine), or is this a bug?
Numpy delegates to the C platform's / and % operators, Python does it
Maybe this should go on the FAQ.
More information about the NumPy-Discussion