# Sema: allow cast builtins on vectors · gitcafe/zig

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

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

Visibility: public

Requested revision: 8d036d1d78bd6db5fd39b30c6182196c1e49a3db

Requested commit: 8d036d1d78bd6db5fd39b30c6182196c1e49a3db

Commit: 8d036d1d78bd6db5fd39b30c6182196c1e49a3db

Tree: ae65a34daabcc80a7b1faf04918fd8fb9ead2565

Author: mlugg

Committer: Andrew Kelley

## Message

```
Sema: allow cast builtins on vectors

The following cast builtins did not previously work on vectors, and have
been made to:

* `@floatCast`
* `@ptrFromInt`
* `@intFromPtr`
* `@floatFromInt`
* `@intFromFloat`
* `@intFromBool`

Resolves: #16267

```

## Parents

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

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