Programming challenge: wildcard exclusion in cartesian products

Alexander Schmolck a.schmolck at gmail.com
Mon Mar 20 16:17:07 EST 2006


joswig at corporate-world.lisp.de writes:

> (defun >> (val num-bytes)
>   "Right-shift positive integer val by num-bytes"
>   (floor (/ val (expt 2 num-bytes))))

or just (floor val (expt 2 num-bytes)) 

'as



More information about the Python-list mailing list