# allow in-memory coercion of differently-named floats with same bits · gitcafe/zig

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

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

Visibility: public

Requested revision: 6fde2fcd519cacdc44871fc1035b05afee072f44

Requested commit: 6fde2fcd519cacdc44871fc1035b05afee072f44

Commit: 6fde2fcd519cacdc44871fc1035b05afee072f44

Tree: 05f4d03603480acda6b87d01e6d325621675da7c

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
allow in-memory coercion of differently-named floats with same bits

For example, this allows passing a `*c_longdouble` where a `*f80` is
expected, provided that `c_longdouble` maps to `f80` for this target.

```

## Parents

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

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