# compiler-rt: Fix signedness mismatch in f128 mul impl · gitcafe/zig

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

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

Visibility: public

Requested revision: 5185b5619ac703755849da70d158b5a45e5673a7

Requested commit: 5185b5619ac703755849da70d158b5a45e5673a7

Commit: 5185b5619ac703755849da70d158b5a45e5673a7

Tree: 431be66ad7f00906d2a288edf29f18bd18960d8c

Author: LemonBoy

Committer: Andrew Kelley

## Message

```
compiler-rt: Fix signedness mismatch in f128 mul impl

The `1 - shift` expression was computed using small unsigned types and
then casted to i32, producing either an underflow error or an incorrect
result.

Reported by `@notviri` in #8733

```

## Parents

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

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