# wasm: Support 128bit integers for max/min/ctz/clz · gitcafe/zig

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

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

Visibility: public

Requested revision: ea073a6b767cc6597ff2b6ec3b5f14fde81dd6fc

Requested commit: ea073a6b767cc6597ff2b6ec3b5f14fde81dd6fc

Commit: ea073a6b767cc6597ff2b6ec3b5f14fde81dd6fc

Tree: 62e9740562c7e213ffd8bacde41b26ba94651a01

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
wasm: Support 128bit integers for max/min/ctz/clz

`airMaxMin` was slightly updated to automatically support 128 bit integers,
by using the `cmp` function, instead of doing it manually. This makes the function
more maintanable as well.

`ctz` and `clz` now support 128 bit integers, while updating the previous implementation
also.

```

## Parents

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

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