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

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

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

Visibility: public

Requested revision: bb8eef8d2403fd5b84ca5fd956f381da1c5cd9b0

Requested commit: bb8eef8d2403fd5b84ca5fd956f381da1c5cd9b0

Commit: bb8eef8d2403fd5b84ca5fd956f381da1c5cd9b0

Tree: 250ee029a9cab47a567ac6c68bbce95bcaec318f

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

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

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