# Make NaNs quiet by default and other NaN tidy-up \(\#16826\) · gitcafe/zig

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

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

Visibility: public

Requested revision: 387b0ac4f1c54cb2f83792299aa628a316e17d88

Requested commit: 387b0ac4f1c54cb2f83792299aa628a316e17d88

Commit: 387b0ac4f1c54cb2f83792299aa628a316e17d88

Tree: 6b69315671946343c6171fe8cf3be451906b3d67

Author: Lewis Gaul

Committer: GitHub

## Message

```
Make NaNs quiet by default and other NaN tidy-up (#16826)

* Generalise NaN handling and make std.math.nan() give quiet NaNs

* Address uses of std.math.qnan_* and std.math.nan_* consts

* Comment out failing test due to issues with signalling NaN

* Fix issue in c_builtins.zig where we need qnan_u32
```

## Parents

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

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