# Sema: implement \`@setFloatMode\` · gitcafe/zig

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

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

Visibility: public

Requested revision: 3fc0e0c57bcc8eb4a14712abc20c16677722fce0

Requested commit: 3fc0e0c57bcc8eb4a14712abc20c16677722fce0

Commit: 3fc0e0c57bcc8eb4a14712abc20c16677722fce0

Tree: 849d11d95c2052e3b009cbf5ca112d15159644b9

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Sema: implement `@setFloatMode`

We are putting off actual optimization of floats because we have a
couple proposals being considered which would change how it works.

In the meantime, lowering optimized float mode to be the same as
strict is a perfectly legal way to implement the Zig language specification.

```

## Parents

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

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