raz / test / run / DivLowestI32.raz

14 lines · 247 B · raw · history · last change 2411fde8

1module DivLowestI32;
2(* The lowest I32 divided by the constant -1 *)
3import Out;
4
5proc main*;
6var a: I32;
7begin
8 a := I32(ARGC()) - 2147483647 - 2;
9 Out.int(I64(a div 2));
10 Out.flush;
11 Out.int(I64(a div (-1)));
12end;
13
14end DivLowestI32.