Z x = 2.Z^^100; Z y = 12; assert(add(x, Z(12)) == // l-value, r-value add(Z(12), x)); // r-value, l-value assert(add(x, y) == // l-value, l-value add(2.Z^^100, 12.Z)); // r-value, r-value assert(add(12.Z, 2.Z^^100) == // r-value, r-value add(2.Z^^100, 12.Z)); // r-value, r-value
Get sum of x and y (x + y).