Bitwise operations: Difference between revisions

Content added Content deleted
Line 1,886: Line 1,886:


=={{header|Perl 6}}==
=={{header|Perl 6}}==
{{works with|Rakudo|2015.12}}
<lang perl6>constant MAXINT = uint.Range.max;
<lang perl6>constant MAXINT = uint.Range.max;
constant BITS = MAXINT.base(2).chars;
constant BITS = MAXINT.base(2).chars;