# Fix f128 NaN check on big-endian hosts · gitcafe/zig

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

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

Visibility: public

Requested revision: 09450419d3bfe990b4e34f85f673615ae601b0d3

Requested commit: 09450419d3bfe990b4e34f85f673615ae601b0d3

Commit: 09450419d3bfe990b4e34f85f673615ae601b0d3

Tree: 325e78a380786bcdf125a7dd23436f0ca4e8fc1a

Author: Koakuma

Committer: Andrew Kelley

## Message

```
Fix f128 NaN check on big-endian hosts

On big-endian hosts, zig_f128_isNaN() takes the high and low halves
from the wrong element, resulting in buggy NaN detection behavior.
This fixes it.

```

## Parents

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

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