@@ -823,6 +823,13 @@ X<Integer bitwise negation operator>.
823
823
Coerces the argument to L < Int > and does a bitwise negation on the result,
824
824
assuming L < two's complement|https://en.wikipedia.org/wiki/Two%27s_complement > .
825
825
826
+ = head2 prefix C « ~^ »
827
+
828
+ Coerces the argument to a non-variable-encoding string buffer type (eg. C < buf8 > , C < buf16 > , C < buf32 > )
829
+ and then flips each bit in that buffer.
830
+
831
+ Please note that this has not yet been implemented.
832
+
826
833
= head2 prefix C « ?^ »
827
834
828
835
= begin code :skip-test
@@ -935,6 +942,26 @@ multi sub infix:<< +> >>($a, $b) returns Int:D
935
942
936
943
Integer bit shift to the right.X < |integer bit shift operator,right >
937
944
945
+ = head2 infix C « ~& »
946
+
947
+ Coerces each argument to a non-variable-encoding string buffer type (eg. C < buf8 > , C < buf16 > , C < buf32 > )
948
+ and then performs a numeric bitwise AND on corresponding integers of the two buffers, padding the
949
+ shorter buffer with zeroes.
950
+
951
+ = head2 infix C « ~< »
952
+
953
+ Coerces the left argument to a non-variable-encoding string buffer type (eg. C < buf8 > , C < buf16 > , C < buf32 > )
954
+ and then performs a numeric bitwise left shift on the bits of the buffer.
955
+
956
+ Please note that this has not yet been implemented.
957
+
958
+ = head2 infix C « ~> »
959
+
960
+ Coerces the left argument to a non-variable-encoding string buffer type (eg. C < buf8 > , C < buf16 > , C < buf32 > )
961
+ and then performs a numeric bitwise right shift on the bits of the buffer.
962
+
963
+ Please note that this has not yet been implemented.
964
+
938
965
= head2 infix C « gcd »
939
966
940
967
= begin code :skip-test
@@ -997,6 +1024,18 @@ X<Integer bitwise XOR operator>.
997
1024
Coerces both arguments to L < Int > and does a bitwise I < XOR > (exclusive OR)
998
1025
operation.
999
1026
1027
+ = head2 infix C « ~| »
1028
+
1029
+ Coerces each argument to a non-variable-encoding string buffer type (eg. C < buf8 > , C < buf16 > , C < buf32 > )
1030
+ and then performs a numeric bitwise OR on corresponding integers of the two buffers, padding the
1031
+ shorter buffer with zeroes.
1032
+
1033
+ = head2 infix C « ~^ »
1034
+
1035
+ Coerces each argument to a non-variable-encoding string buffer type (eg. C < buf8 > , C < buf16 > , C < buf32 > )
1036
+ and then performs a numeric bitwise XOR on corresponding integers of the two buffers, padding the
1037
+ shorter buffer with zeroes.
1038
+
1000
1039
= head2 infix C « ?| »
1001
1040
1002
1041
= begin code :skip-test
0 commit comments