Help for this page

Select Code to Download


  1. or download this
        #!/usr/bin/perl -wl
    
        use strict;
    ...
            return $next;
        }
    
  2. or download this
        sub prev_power2 {
            return 2 ** int log($_[0]) / log 2;
        }