Gast
#1818617
Hallo, wenn ich zwei Zahlen subtrahiere, bekomme ich manchmal einen Overflow. Ich kompensiere das folgendermaßen: if (a < b) then c <= a - b; else c <= not(a - b); end if; -- Das funktioniert einwandfrei! Was passiert aber, wenn ich mehrere subtraktionen in einer Anweisung durchführe? z.B.: d <= a - b - c; Muss ich für jede Operation eine Umwandlung durchführen? Gruß domi