# stage1: Implement \`@intCast\` between vectors · gitcafe/zig

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

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

Visibility: public

Requested revision: 2f465761bb960ef945f62186ba0b38a95684af51

Requested commit: 2f465761bb960ef945f62186ba0b38a95684af51

Commit: 2f465761bb960ef945f62186ba0b38a95684af51

Tree: d0bd076ba334b0b93d17c4e031dd95575894c942

Author: LemonBoy

Committer: LemonBoy

## Message

```
stage1: Implement `@intCast` between vectors

Explicit and implicit integer casts on vector types are now supported
and follow the same rules as their scalar counterparts.

Implicit float casts are accidentally supported, `@floatCast` is still
not vector-aware.

```

## Parents

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

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