Skip to content
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

fix #16469 vm float constants: do not conflate -0.0 and 0.0 #16470

Merged
merged 2 commits into from
Dec 27, 2020

Conversation

timotheecour
Copy link
Member

@timotheecour timotheecour commented Dec 26, 2020

note

this doesn't break the test introduced in #13787 which is a related issue

@timotheecour timotheecour force-pushed the pr_fix_16469_float_vm_const branch 3 times, most recently from 7e9c57f to 7b2e876 Compare December 26, 2020 02:06
@timotheecour timotheecour mentioned this pull request Dec 26, 2020
@timotheecour timotheecour marked this pull request as draft December 26, 2020 04:10
@timotheecour timotheecour removed the request for review from Clyybber December 26, 2020 04:10
compiler/vmgen.nim Outdated Show resolved Hide resolved
@timotheecour timotheecour force-pushed the pr_fix_16469_float_vm_const branch from 7b2e876 to 8aa6471 Compare December 27, 2020 10:14
@timotheecour timotheecour marked this pull request as ready for review December 27, 2020 10:59
@timotheecour
Copy link
Member Author

PTAL, comment resolved and it fixed i386 CI

@Araq Araq merged commit 3577296 into nim-lang:devel Dec 27, 2020
@timotheecour timotheecour deleted the pr_fix_16469_float_vm_const branch December 28, 2020 11:00
mildred pushed a commit to mildred/Nim that referenced this pull request Jan 11, 2021
…im-lang#16470)

* fix nim-lang#16469 vm float constants: do not conflate -0.0 and 0.0

* fix test for 32bit
ardek66 pushed a commit to ardek66/Nim that referenced this pull request Mar 26, 2021
…im-lang#16470)

* fix nim-lang#16469 vm float constants: do not conflate -0.0 and 0.0

* fix test for 32bit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0.0 treated as -0.0 in VM, depending on order, causing further differences bw RT and CT
3 participants