We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
emscripten's tests/cases/bigdouble.ll emits (in asm1 mode)
tests/cases/bigdouble.ll
asm1
function _main() { var $0 = 0.0, $vararg_buffer = 0, label = 0, sp = 0; sp = STACKTOP; STACKTOP = STACKTOP + 16|0; $vararg_buffer = sp; $0 = 4.0083367200179456E-292 * 1.0000000000000001E+300; HEAPF64[$vararg_buffer>>3] = $0; (_printf((8|0),($vararg_buffer|0))|0); STACKTOP = sp;return 0; }
which is packed and unpacked into
function $ao(){ var k=0,l=0,m=0,n=0.; m=$ab; $ab=$ab+16|0; k=m; n=4.00834e-292*1.e+300; h[k>>3]=n; $A(8,k|0)|0; $ab=m; return 0; }
Note the first double has lost precision.
The text was updated successfully, but these errors were encountered:
Also happens in test_closebitcasts on a smaller number, 1073741824.0 => 107374e4.
test_closebitcasts
1073741824.0 => 107374e4
Sorry, something went wrong.
use emscripten_print_double to get fully precise printing of doubles l…
93872c8
…ukewagner#5
No branches or pull requests
emscripten's
tests/cases/bigdouble.ll
emits (inasm1
mode)which is packed and unpacked into
Note the first double has lost precision.
The text was updated successfully, but these errors were encountered: