# Return undefined in frexp instead of 0 on nan input · gitcafe/zig

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

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

Visibility: public

Requested revision: e81bf1c38c9330d6f68584627992d3ab820ed50f

Requested commit: e81bf1c38c9330d6f68584627992d3ab820ed50f

Commit: e81bf1c38c9330d6f68584627992d3ab820ed50f

Tree: 71d862d5149ebdf6e3721ebda8cddb783e6a6050

Author: Marc Tiehuis

Committer: Marc Tiehuis

## Message

```
Return undefined in frexp instead of 0 on nan input

This is more in line what usual C implementations do.

```

## Parents

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

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