Add more i32.trunc_f64_s conversion checks (#1223)

Previously existing tests checked 2147483647.0 and 2147483648.0,
but not the precise fraction where things change in between.

I noticed this as the binaryen fuzzer found a difference between
the binaryen interpreter and other VMs, where binaryen was
doing the wrong thing.
1 file changed
tree: ef8ad995591b91b9a710702e72ad7f0d2f7fe413
  1. .gitattributes
  2. .gitignore
  3. .gitmodules
  4. .travis.yml
  5. Contributing.md
  6. LICENSE
  7. README.md
  8. deploy_key.enc
  9. document/
  10. interpreter/
  11. papers/
  12. proposals/
  13. test/
  14. w3c.json
  15. wasm-specs.bib
README.md

Build Status

spec

This repository holds the sources for the WebAssembly draft specification (to seed a future WebAssembly Working Group), a reference implementation, and the official testsuite.

A formatted version of the spec is available here: webassembly.github.io/spec,

Participation is welcome. Discussions about new features, significant semantic changes, or any specification change likely to generate substantial discussion should take place in the WebAssembly design repository first, so that this spec repository can remain focused. And please follow the guidelines for contributing.

citing

For citing WebAssembly in LaTeX, use this bibtex file.