New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test failure on powerpc and ppc64el #224
Comments
Hmm, this is really strange. I have no experimented with gcc 6 yet, but is there a way to build numexpr 2.6.1 with gcc-5? I am using gcc 5.4.0 (before was gcc 5.3.something) on an Ubuntu 16.04 box and all the tests passes. |
Thanks @FrancescAlted, Indeed it is very strange. |
This seems to be an issue on converting double to long, which is truncating other than rounding. For example, powl(3,3) is returning 26,99999999996, which is being trucated to 26 instead of 27. @ferseiti created a initial patch that fixes this version. I just reviewed and we should send a final patch in a PR next week. |
@leitao That is correct. That also happens with other values. |
Hello. |
@FrancescAlted probably this one can be closed since PR #235 has been merged now |
Thanks @avalentino for the reminder. Closing. |
We are trying to update debian packages for numexpr to v2.6.1 and we have test failures on powerpc and ppc64el [1], [2]
I feels very strange because v2.6.0 (currently in testing) seems to work correctly, and changes between v2.6.0 ans v2.6.1 are really minimal [3].
The main change between the two builds seems to be the updated gcc version (5.3.1 vs 6.1.1).
Any idea?
[1] https://buildd.debian.org/status/fetch.php?pkg=numexpr&arch=powerpc&ver=2.6.1-1&stamp=1472197317
[2] https://buildd.debian.org/status/fetch.php?pkg=numexpr&arch=ppc64el&ver=2.6.1-1&stamp=1472197359
[3] v2.6.0...v2.6.1
The text was updated successfully, but these errors were encountered: