# translate-c: Fix macro define of float constant using scientific notation · gitcafe/zig

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

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

Visibility: public

Requested revision: c4681b4889652d5228a84ac7af5ad5e17ac39055

Requested commit: c4681b4889652d5228a84ac7af5ad5e17ac39055

Commit: c4681b4889652d5228a84ac7af5ad5e17ac39055

Tree: 24621c694eb01f3e932295dbbe2814955babeb57

Author: riverbl

Committer: Andrew Kelley

## Message

```
translate-c: Fix macro define of float constant using scientific notation

Fixes compiler attempting to use null value when translating macro define of float constant using scientific notation with no decimal point

```

## Parents

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

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