# use correct cast function when doing \`@floatCast\` at comptime · gitcafe/zig

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

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

Visibility: public

Requested revision: 2e1bdd0d14f490a80bbed3ee0e0479a908715d33

Requested commit: 2e1bdd0d14f490a80bbed3ee0e0479a908715d33

Commit: 2e1bdd0d14f490a80bbed3ee0e0479a908715d33

Tree: 491a48c67d5ac87b6e776d483065a5bf80027481

Author: Vexu

Committer: Vexu

## Message

```
use correct cast function when doing `@floatCast` at comptime

Closes #5832

```

## Parents

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

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