May 14, 2013
7:31 p.m.
14.05.2013 21:52, Toder, Evgeny kirjoitti:
So, does numpy implement modular (two’s complement) arithmetic for signed types [clip]
Numpy leaves integer arithmetic to the C compiler. Python and its C modules however by default specify -fwrapv for gcc and its ilk, so the behavior might seem consistent on these platforms. -- Pauli Virtanen