wit-bindgen icon indicating copy to clipboard operation
wit-bindgen copied to clipboard

Update JS integer lowering

Open Liamolucko opened this issue 3 years ago • 0 comments

Updates JS integer lowering to match the component model explainer (assuming that WebAssembly/component-model#52 is merged).

The main differences are that out-of-range numbers now wrap instead of throwing, and that non-integers are now rounded down instead of throwing.

Liamolucko avatar Jun 22 '22 08:06 Liamolucko