[Python-apps-team] Bug#846268: [src:cython] Complex Arithmetic Broken

Antonio Russo antonio.e.russo at gmail.com
Tue Nov 29 18:13:57 UTC 2016


Package: src:cython
Version: 0.25.2~b0-1
Severity: important

--- Please enter the report below this line. ---

The following cython file should emit -1/32 three times (up to a zero imaginary component)

My machine produces a nan+nanj for the third.

b = -0.5+0j
e = 5
print(b**e,(-0.5)**5,(-0.5+0j)**5)

This failure is silent---numerical programs relying on arithmetic may produce corrupt output.


--- System information. ---
Architecture: Kernel:       Linux 4.7.0-1-amd64

Debian Release: stretch/sid
   300 testing         ftp.us.debian.org   250 unstable        ftp.us.debian.org
--- Package information. ---
Package's Depends field is empty.

Package's Recommends field is empty.

Package's Suggests field is empty.



More information about the Python-apps-team mailing list