- unsigned % signed and unsigned / signed is no longer allowed without explicit casts, except for const denominators. #2928

This commit is contained in:
Christoffer Lerno
2026-02-11 23:18:08 +01:00
parent 202349d88f
commit 9b52be9ba6
6 changed files with 29 additions and 6 deletions

View File

@@ -158,7 +158,7 @@ macro double? decfloat(char[] chars, int $bits, int $emin, int sign)
if (rp % 9)
{
long rpm9 = rp >= 0 ? rp % 9 : rp % 9 + 9;
int p10 = P10S[8 - rpm9];
uint p10 = P10S[8 - rpm9];
uint carry = 0;
for (k = a; k != z; k++)
{