# wasm: Implement overflow arithmetic · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/3114faddd84d67b68384d3321f192e3c09bf13bf)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 3114faddd84d67b68384d3321f192e3c09bf13bf

Requested commit: 3114faddd84d67b68384d3321f192e3c09bf13bf

Commit: 3114faddd84d67b68384d3321f192e3c09bf13bf

Tree: 3005f6772fc5dd94a4bb582bcf05c175290ffa58

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
wasm: Implement overflow arithmetic

This implements the overflow arithmetic for unsigned and signed integers.
Meaning the following instructions:
- @addWithOverflow
- @subWithOverflow
- @shlWithOverflow
- @mulWithOverflow

```

## Parents

- [406507c6dcdfff13633f9047549fe1d1f93b6819](https://git.cafe/gitcafe/zig/commit/406507c6dcdfff13633f9047549fe1d1f93b6819?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/3114faddd84d67b68384d3321f192e3c09bf13bf?format=markdown)
