Loading IntegerPP.h +1 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ class IntegerPP: public IntegerP { * @param addor The number to add to this object. * @return The sum of this object and {@code addor}. * @example (IntegerPP(10) + IntegerPP(5) == IntegerPP(15)) * @example (IntegerPP({1,1}) * IntegerPP({1,0,0,1}) == IntegerPP({2,0,1})) * @example (IntegerPP({1,1}) + IntegerPP({1,0,0,1}) == IntegerPP({2,0,1})) * (2*3) + (2*7) = (2^2 * 5) * 6 + 14 = 20 */ Loading Loading
IntegerPP.h +1 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ class IntegerPP: public IntegerP { * @param addor The number to add to this object. * @return The sum of this object and {@code addor}. * @example (IntegerPP(10) + IntegerPP(5) == IntegerPP(15)) * @example (IntegerPP({1,1}) * IntegerPP({1,0,0,1}) == IntegerPP({2,0,1})) * @example (IntegerPP({1,1}) + IntegerPP({1,0,0,1}) == IntegerPP({2,0,1})) * (2*3) + (2*7) = (2^2 * 5) * 6 + 14 = 20 */ Loading