# Update frexp.zig \(\#19370\) · gitcafe/zig

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

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

Visibility: public

Requested revision: f32723a237a84cb75c49a3351b951cf8f652fd32

Requested commit: f32723a237a84cb75c49a3351b951cf8f652fd32

Commit: f32723a237a84cb75c49a3351b951cf8f652fd32

Tree: f2a624fa796a67b235493bf83733bf92eb984e6d

Author: Sean

Committer: GitHub

## Message

```
Update frexp.zig (#19370)

1. Entirely rewrote frexp with generics, reducing the implementation to a single function and enabling parameters of types f80 and f16
2. Expanded upon the tests, making them more descriptive and comprehensive, and automatically generating the test bodies for each floating point type
3. Added a doctest for frexp
```

## Parents

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

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