# Sema: elide safety of modulus and remainder division sometimes · gitcafe/zig

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

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

Visibility: public

Requested revision: 5c9826630dfb8a2f59663a569bb8e452359c9524

Requested commit: 5c9826630dfb8a2f59663a569bb8e452359c9524

Commit: 5c9826630dfb8a2f59663a569bb8e452359c9524

Tree: 41d554db1f8483214520c598a33ac18507d4d86e

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Sema: elide safety of modulus and remainder division sometimes

Piggybacking on 40f8f0134f5da9baaefd0fdab529d5585fa46199, remainder
division, modulus, and `%` syntax no longer emit safety checks for a
comptime-known denominator.

```

## Parents

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

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