031ca653a3
Bitwise `or` on integers. Change-Id: I45b0897331d1a9b6840f9d0feedcf10acc67fcec Reviewed-on: https://cl.tvl.fyi/c/depot/+/6549 Autosubmit: wpcarro <wpcarro@gmail.com> Reviewed-by: wpcarro <wpcarro@gmail.com> Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
10 lines
256 B
Nix
10 lines
256 B
Nix
[
|
|
(builtins.bitOr 0 0)
|
|
(builtins.bitOr 1 0)
|
|
(builtins.bitOr 0 1)
|
|
(builtins.bitOr 1 1)
|
|
(builtins.bitOr 8 8)
|
|
(builtins.bitOr 8 (builtins.add 4 4))
|
|
(builtins.bitOr (builtins.add 4 4) 8)
|
|
(builtins.bitOr (builtins.add 4 4) (builtins.add 4 4))
|
|
]
|