Files
mercury/tests/general/arithmetic.exp
Fergus Henderson 68f7612558 Add a test of the new modes of int__xor.
Estimated hours taken: 0.1

tests/general/arithmetic.exp:
	Add a test of the new modes of int__xor.
2000-03-13 13:53:49 +00:00

16 lines
179 B
Plaintext

X: 3
Y: 4
X + Y: 7
X * Y: 12
X - Y: -1
X / Y: 0
X mod Y: 3
X << Y: 48
X >> Y: 0
X /\ Y: 0
X \/ Y: 7
X `xor` Y: 7
Z such that X = Z `xor` Y: 7
Z such that Y = X `xor` Z: 7
\ X: -4