Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
13
Task/Twos-complement/Craft-Basic/twos-complement.basic
Normal file
13
Task/Twos-complement/Craft-Basic/twos-complement.basic
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
let d = 1234567
|
||||
|
||||
dim b[d * -1, d * -1 + 1, -2, -1, 0, 1, 2, d - 2, d - 1]
|
||||
|
||||
arraysize s, b
|
||||
|
||||
for i = 0 to s - 1
|
||||
|
||||
print b[i], " : ", b[i] * -1
|
||||
|
||||
next i
|
||||
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue