# stage2: Add support for floats in the C backend \(\#10059\) · gitcafe/zig

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

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

Visibility: public

Requested revision: 6869bc9ff872b45c4126526eecf9d8607ad73d7a

Requested commit: 6869bc9ff872b45c4126526eecf9d8607ad73d7a

Commit: 6869bc9ff872b45c4126526eecf9d8607ad73d7a

Tree: 064277ea57b1d130a741722d04454cd1d5142f48

Author: Zen1th

Committer: GitHub

## Message

```
stage2: Add support for floats in the C backend (#10059)

* Implement float type
* Fix int and float undefined value
* Handle NaN constants, preserving bit pattern
```

## Parents

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

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