# stage2: lower float negation explicitly · gitcafe/zig

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

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

Visibility: public

Requested revision: 6bc6e47b1582a4538078c8f4e9b3dae386854d07

Requested commit: 6bc6e47b1582a4538078c8f4e9b3dae386854d07

Commit: 6bc6e47b1582a4538078c8f4e9b3dae386854d07

Tree: 3919cd49e8cfe2772c4028f0b056f47040651494

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: lower float negation explicitly

Rather than lowering float negation as `0.0 - x`.

 * Add AIR instruction for float negation.
 * Add compiler-rt functions for f128, f80 negation

closes #11853

```

## Parents

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

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