# std\.\{fmt, math\}: derive float constants from std · gitcafe/zig

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

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

Visibility: public

Requested revision: 7b7f45dc2a54aa9dfd6263b2654a5ccc8c5d2c82

Requested commit: 7b7f45dc2a54aa9dfd6263b2654a5ccc8c5d2c82

Commit: 7b7f45dc2a54aa9dfd6263b2654a5ccc8c5d2c82

Tree: f9b890968f04e421d848c69b4c7113831770fd48

Author: viri

Committer: Isaac Freund

## Message

```
std.{fmt, math}: derive float constants from std

This also addresses a nit from #10133 where IntT might be a confusing
name because it might imply signed integer (iX, not uX). We settled on
TBits for math/float.zig so I've applied that change here too.

When I originally wrote ldexp() I copied the name from parse_hex_float.

```

## Parents

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

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