# C backend: implement trunc instruction · gitcafe/zig

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

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

Visibility: public

Requested revision: 98009a2f66de32d1ea4df41cc03d5ad3d723b3ed

Requested commit: 98009a2f66de32d1ea4df41cc03d5ad3d723b3ed

Commit: 98009a2f66de32d1ea4df41cc03d5ad3d723b3ed

Tree: 6835afcef70cffd09159cd890b5ab1fc4104f139

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
C backend: implement trunc instruction

Note that there is not any test coverage yet for integer
truncation involving non-power-of-two integers.

```

## Parents

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

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