cryptol/tests/issues/issue306.icry
Brian Huffman 9538c59d23 Fix shift/rotate by amounts greater than 2^63 in evaluator
Also added regression tests. This should fix issue #306.
2016-01-27 10:37:55 -08:00

7 lines
372 B
Plaintext

:exhaust \(x:[6]) -> x <<< (0x10000000000000000 : [68]) == x <<< 4
:exhaust \(x:[6]) -> x >>> (0x10000000000000000 : [68]) == x >>> 4
:exhaust \(x:[8]) -> x << (0x10000000000000000 : [68]) == 0
:exhaust \(x:[8]) -> x >> (0x10000000000000000 : [68]) == 0
:exhaust \(x:[8]) -> x << (0x8000000000000000 : [64]) == 0
:exhaust \(x:[8]) -> x >> (0x8000000000000000 : [64]) == 0