Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -1,10 +0,0 @@
|
|||
with Ada.Text_IO;
|
||||
|
||||
procedure Twos_Complement is
|
||||
type Number is mod 2 ** 32;
|
||||
A : constant Number := 42;
|
||||
B : constant Number := not A + 1;
|
||||
Is_Negative : constant Boolean := A + B = 0;
|
||||
begin
|
||||
Ada.Text_IO.Put_Line ("B = -A is " & Is_Negative'Image);
|
||||
end Twos_Complement;
|
||||
Loading…
Add table
Add a link
Reference in a new issue