Remove undefined behaviors

This commit is contained in:
Justine Tunney 2021-05-16 11:16:28 -07:00
parent 4864565198
commit b3838173ec
51 changed files with 756 additions and 1302 deletions

View file

@ -29,7 +29,7 @@ void(psignd)(int32_t a[4], const int32_t b[4], const int32_t c[4]) {
if (!c[i]) {
a[i] = 0;
} else if (c[i] < 0) {
a[i] = -b[i];
a[i] = -(uint32_t)b[i];
} else {
a[i] = b[i];
}