emscripten icon indicating copy to clipboard operation
emscripten copied to clipboard

Error with addition of doubles and 64-bit ints

Open ssj-gz opened this issue 13 years ago • 1 comments

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

ssj-gz avatar Dec 06 '12 22:12 ssj-gz

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.

kripken avatar Dec 07 '12 20:12 kripken