Help for this page

Select Code to Download


  1. or download this
    use ntheory qw/hammingweight/;
    say hammingweight(1234567);
    ...
     
    use Bit::Vector;
    say Bit::Vector->new_Dec(64,1234567)->Norm;