# all numbers with comptime known values implicitly cast · gitcafe/zig

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

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

Visibility: public

Requested revision: f8a782fb2ec63b89fadb409f7378066a26945d3b

Requested commit: f8a782fb2ec63b89fadb409f7378066a26945d3b

Commit: f8a782fb2ec63b89fadb409f7378066a26945d3b

Tree: 363d3428b7b38777b1f328fe0196987b7d986f9f

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
all numbers with comptime known values implicitly cast

to all number types. If the value does not fit,
a compile error is emitted.

closes #422
closes #1712

```

## Parents

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

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