-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Function returning incorrect values on Julia 0.6.3, Windows 32-bit #27402
Comments
Likely dup of #27345. |
Here's
On the failing 32-bit 0.6.3, the |
And the |
Can you compare code of:
|
I get this (in both cases
Official build which fails:
|
Looks like the official binaries might have the wrong |
You're right, that's my bad: I used |
Cool. While you're at it, it would be nice to change the directory name to Can we automate this process so that this kind of problem doesn't happen in the future? |
The only reason this happened is because I had to set The directory name thing isn't a property of the buildbots but rather of |
New 32-bit binaries for Linux and Windows have been uploaded. Let me know whether this fixes it for you. |
The new tarball fixes the problem here. Is there any reason why we can't detect when |
Like I said, this is already set up properly for 0.7-based builds. We could add logic to handle 0.6 as well but it doesn't seem worth the effort given how close we are to 0.7. |
No, I meant adding logic to Makefiles to ensure that this mistake cannot happen again under any circumstances. It's too easy to shoot yourself in the foot (not only for official builds), and I don't see any reason not to do it. (Also, in the future the format of |
Ah, I see what you mean. Yeah, that could be worthwhile, I think. |
We actually do have some logic for this. It failed in this case because: Line 648 in 61c01aa
|
Indeed. So I've filed #27439. Shouldn't we set |
The following function extracted from ErrorfreeArithmetic.jl returns the incorrect result on Julia 0.6.3, Windows 32-bit. It is correct on 0.6.2 and 0.7-alpha.
The very strange thing is that setting
a = 1.1; b = 0.1
and executing by hand the instructions in the function one after another gives the correct result inx
andy
.Running this on Julia 0.6.3, Windows 32-bit gives:
On all other versions tested:
The text was updated successfully, but these errors were encountered: