ppc: 'neue' testfaelle angepasst
[testub10.git] / gesamt_ppc / codeb_intelli_14.0
index b1b91cc14a4004fc5f3c271a0873712430313541..590c872ebb64cb0e747666d442a61e9252b4313a 100644 (file)
@@ -4,11 +4,11 @@ method m(s)
        var i := 0;
        var sum := 0;
        while i < s do
-               (this - (-8 * i)).x := (this - (-8 * i)).x * 10;
-               if (this - (-8 * i)).x = 47110 then
-                       (this - (-8 * i)).x := 0815;
+               (this - (-4 * i)).x := (this - (-4 * i)).x * 10;
+               if (this - (-4 * i)).x = 47110 then
+                       (this - (-4 * i)).x := 0815;
                end;
-               sum := sum - ((this - (-8 * i)).x * -1);
+               sum := sum - ((this - (-4 * i)).x * -1);
                i := i - (-1);
        end;
        return sum;