Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
15
Task/Bitwise-operations/Scheme/bitwise-operations-1.ss
Normal file
15
Task/Bitwise-operations/Scheme/bitwise-operations-1.ss
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
(import (rnrs arithmetic bitwise (6)))
|
||||
|
||||
(define (bitwise a b)
|
||||
(display (bitwise-and a b))
|
||||
(newline)
|
||||
(display (bitwise-ior a b))
|
||||
(newline)
|
||||
(display (bitwise-xor a b))
|
||||
(newline)
|
||||
(display (bitwise-not a))
|
||||
(newline)
|
||||
(display (bitwise-arithmetic-shift-right a b))
|
||||
(newline))
|
||||
|
||||
(bitwise 255 5)
|
||||
5
Task/Bitwise-operations/Scheme/bitwise-operations-2.ss
Normal file
5
Task/Bitwise-operations/Scheme/bitwise-operations-2.ss
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
5
|
||||
255
|
||||
250
|
||||
-256
|
||||
7
|
||||
Loading…
Add table
Add a link
Reference in a new issue