# math: make \`cast\` return optional instead of an error · gitcafe/zig

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

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

Visibility: public

Requested revision: 0e6285c8fc31ff866df96847fe34e660da38b4a9

Requested commit: 0e6285c8fc31ff866df96847fe34e660da38b4a9

Commit: 0e6285c8fc31ff866df96847fe34e660da38b4a9

Tree: 5d5830d5b3ce6c13041aacb7e073763551cb4852

Author: Ali Chraghi

Committer: Andrew Kelley

## Message

```
math: make `cast` return optional instead of an error

```

## Parents

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

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