# stage1: Fix negation for zero floating point values · gitcafe/zig

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

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

Visibility: public

Requested revision: f9481402f0c6f2eb4618bb0385aff18c12912c26

Requested commit: f9481402f0c6f2eb4618bb0385aff18c12912c26

Commit: f9481402f0c6f2eb4618bb0385aff18c12912c26

Tree: dec626fa96c0c21c8965bf19ef9fcf497a86adfd

Author: LemonBoy

Committer: LemonBoy

## Message

```
stage1: Fix negation for zero floating point values

Toggling the sign by computing 0-x doesn't really work for zero values.

```

## Parents

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

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