# stage2: fix @mulAdd on aarch64 Darwin · gitcafe/zig

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

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

Visibility: public

Requested revision: 897df18573c951b49fb6421a9e1b711cabfeda67

Requested commit: 897df18573c951b49fb6421a9e1b711cabfeda67

Commit: 897df18573c951b49fb6421a9e1b711cabfeda67

Tree: e365e821f2c0b7f9e678e767671ce14dee885b54

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
stage2: fix @mulAdd on aarch64 Darwin

According to Apple docs, the long double type is a double precision
IEEE754 binary floating-point type, which makes it identical to the
double type. This behavior contrasts to the standard specification,
in which a long double is a quad-precision, IEEE754 binary,
floating-point type.

Thus, we need to take this into account when using the compiler
intrinsics so that we select the correct function version for
FloatMulAdd.

```

## Parents

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

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