[Numpy-discussion] Integer overflow in test_einsum (1.7.1)

Toder, Evgeny evgeny.toder at jpmorgan.com
Tue May 14 15:53:24 EDT 2013


Thank you, Pauli. I guess this means that the test needs to be fixed?

Eugene

-----Original Message-----
From: numpy-discussion-bounces at scipy.org [mailto:numpy-discussion-bounces at scipy.org] On Behalf Of Pauli Virtanen
Sent: Tuesday, May 14, 2013 3:31 PM
To: numpy-discussion at scipy.org
Subject: Re: [Numpy-discussion] Integer overflow in test_einsum (1.7.1)

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

_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion at scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
This email is confidential and subject to important disclaimers and
conditions including on offers for the purchase or sale of
securities, accuracy and completeness of information, viruses,
confidentiality, legal privilege, and legal entity disclaimers,
available at http://www.jpmorgan.com/pages/disclosures/email.  



More information about the NumPy-Discussion mailing list