# Use bitwise-and instead of modulo in \_\_zig_return_error · gitcafe/zig

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

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

Visibility: public

Requested revision: c4887d7f5430b38787ec01368ab7eba1537f0487

Requested commit: c4887d7f5430b38787ec01368ab7eba1537f0487

Commit: c4887d7f5430b38787ec01368ab7eba1537f0487

Tree: 450a3637d355756236028e78759f023c2e761e1d

Author: Marc Tiehuis

Committer: Andrew Kelley

## Message

```
Use bitwise-and instead of modulo in __zig_return_error

Avoids emitting compiler-rt div calls on some targets.

```

## Parents

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

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