Home | Notifications | New Note | Local | Federated | Search | Logout

Note Detail


mcc@mcc@mastodon.social (2026-10-02 02:07:04)
does anyone know enough about wasm to know why the reference here lists an opcode named "div" and then in the example it instead calls it "div_u" https://developer.mozilla.org/en-US/docs/WebAssembly/Reference/Numeric/div

---Reply--- mcc@mcc@mastodon.social (2026-10-02 02:08:11) Wait hold on is. Is "i32" in wasm sign-ambiguous and "div_u" means "divide unsigned". Is this just LLVM
Reply

---Replies---
dave@dthompson@toot.cat (2026-10-02 02:13:17)
@mcc yes i32 doesn't have inherent signedness