# compiler-rt: math functions reorg · gitcafe/zig

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

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

Visibility: public

Requested revision: 41dd2beaacade94c5c98400a4a655aea07b9e2f3

Requested commit: 41dd2beaacade94c5c98400a4a655aea07b9e2f3

Commit: 41dd2beaacade94c5c98400a4a655aea07b9e2f3

Tree: d7cd75c3ded0e8517e801f62dbb883d93f3cd585

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
compiler-rt: math functions reorg

 * unify the logic for exporting math functions from compiler-rt,
   with the appropriate suffixes and prefixes.
   - add all missing f128 and f80 exports. Functions with missing
     implementations call other functions and have TODO comments.
   - also add f16 functions
 * move math functions from freestanding libc to compiler-rt (#7265)
 * enable all the f128 and f80 code in the stage2 compiler and behavior
   tests (#11161).
 * update std lib to use builtins rather than `std.math`.

```

## Parents

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

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