added more bigint code
This commit is contained in:
@ -2659,8 +2659,10 @@ Push_Top (Interp, B'Unchecked_Access);
|
||||
--A := Bigint.Add (Interp.Self, A, B);
|
||||
--end loop;
|
||||
A := Make_Bigint (Interp.Self, Value => 16#FFFF_00000001#);
|
||||
B := Make_Bigint (Interp.Self, Value => 16#0000_0000000F#);
|
||||
A := Bigint.Subtract (Interp.Self, A, B);
|
||||
B := Make_Bigint (Interp.Self, Value => 16#FFFF_0000000F#);
|
||||
--A := Bigint.Subtract (Interp.Self, integer_to_pointer(16), B);
|
||||
A := Bigint.Subtract (Interp.Self, B, integer_to_pointer(16));
|
||||
print (interp, A);
|
||||
Pop_tops (Interp, 2);
|
||||
end;
|
||||
Ada.Text_IO.Put_LINE ("=== BYE ===");
|
||||
|
Reference in New Issue
Block a user