You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test_colors.test_Normalize fails in 2.0.0b4 on Fedora rawhide/aarch64 (ARMv8) #7159
which I assume is supported differently on ARM than on x86_64.
My gut reaction is that we need some sort of conditional here to not bother testing longdouble/float128 in ARM, but I do not know enough about ARM to be sure.
@rathann what does np.finfo(np.longdouble) return for you? @tacaswell see #6700 for the origin of the test, I think (not very strongly) that the fix belongs in 2.0.
Oops, didn't pay attention to the resolution. I get the same thing as @QuLogic, so yes, my resolution us much lower.
Actually 1e-33 looks "real" float128 instead of the "extended precision" (80 bits) we have on x86_64 (=1e-18).
The test computes ((1+50*eps)-1) / ((1+100*eps)-1) where eps is the resolution given. I think it's fair to let it pass as long as the result is between 0.495 and 0.505 (off by 1%, which should correspond to the 100*eps). (The purpose of the test was mostly to make sure that the 100*eps doesn't get eaten away when eps is smaller than the resolution of float64.) Thoughts?
Activity
tacaswell commentedon Sep 22, 2016
attn @anntzer I think you wrote this test.
It looks like this is explicitly a test of
longdoublewhich I assume is supported differently on ARM than on x86_64.
My gut reaction is that we need some sort of conditional here to not bother testing longdouble/float128 in ARM, but I do not know enough about ARM to be sure.
anntzer commentedon Sep 22, 2016
@rathann what does
np.finfo(np.longdouble)return for you?@tacaswell see #6700 for the origin of the test, I think (not very strongly) that the fix belongs in 2.0.
rathann commentedon Sep 22, 2016
@anntzer here's what I got from a fellow Fedora developer:
finfo(resolution=1e-33, min=-1.18973149536e+4932, max=1.18973149536e+4932, dtype=float128)anntzer commentedon Sep 22, 2016
Ugh, so at least this is not different from what I have here.
Similarly to #7158 I think a VM image would be the best way to investigate this.
Edit: see below.
QuLogic commentedon Sep 22, 2016
@anntzer It's really the same for you?
On x86_64, I get
finfo(resolution=1e-18, min=-1.18973149536e+4932, max=1.18973149536e+4932, dtype=float128)which has a much bigger resolution value.anntzer commentedon Sep 22, 2016
Oops, didn't pay attention to the resolution. I get the same thing as @QuLogic, so yes, my resolution us much lower.
Actually 1e-33 looks "real" float128 instead of the "extended precision" (80 bits) we have on x86_64 (=1e-18).
The test computes
((1+50*eps)-1) / ((1+100*eps)-1)where eps is the resolution given. I think it's fair to let it pass as long as the result is between 0.495 and 0.505 (off by 1%, which should correspond to the100*eps). (The purpose of the test was mostly to make sure that the100*epsdoesn't get eaten away when eps is smaller than the resolution of float64.) Thoughts?Kojoley commentedon Sep 22, 2016
Maybe just
assert norm(1 + np.finfo(np.longdouble).eps) > 1is enough?anntzer commentedon Sep 30, 2016
Should be fixed by #7167, please request a reopen otherwise.