Error with addition of doubles and 64-bit ints #745

Closed
ssj-gz opened this Issue Dec 6, 2012 · 1 comment

Projects

None yet

2 participants

@ssj-gz
ssj-gz commented Dec 6, 2012

The following test case is a simplified version of an issue found in Qt, described in 1) here. This particular test-case must be compiled with -O0, else the compiler will cheat and calculate the values at compile-time!

https://gist.github.com/4229127

@kripken kripken closed this in ab399ca Dec 7, 2012
@kripken
Owner
kripken commented Dec 7, 2012

Thanks for filing! Turns out we had nice new shiny code for handling i64-to-double operations, but we didn't use it in all places ;) This is fixed on incoming now, and I added this testcase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment