Skip to content

Conversation

@lukewagner
Copy link
Member

As suggested in #48

Liamolucko added a commit to Liamolucko/wit-bindgen that referenced this pull request Jun 22, 2022
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.
@lukewagner lukewagner merged commit c890d92 into main Jun 25, 2022
@lukewagner lukewagner deleted the improve-js-api branch June 25, 2022 04:18
alexcrichton pushed a commit to bytecodealliance/wit-bindgen that referenced this pull request Sep 1, 2022
* Update JS integer lowering

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.
guybedford pushed a commit to bytecodealliance/jco that referenced this pull request Dec 17, 2022
* Update JS integer lowering

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.
guybedford pushed a commit to bytecodealliance/jco that referenced this pull request Dec 21, 2022
* Update JS integer lowering

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.
rvolosatovs pushed a commit to bytecodealliance/wrpc that referenced this pull request May 23, 2024
* Update JS integer lowering

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant