Boost logo

Boost Users :

Subject: [Boost-users] run-time integer log2
From: Tim Blechmann (tim_at_[hidden])
Date: 2010-07-13 06:55:17


hi all,

i am aware, that boost provides a compile-time integer log2 function. but
what is the best way to compile an integer log2 at run-time?

thanks, tim

-- 
tim_at_[hidden]
http://tim.klingt.org
Silence is only frightening to people who are compulsively
verbalizing.
  William S. Burroughs

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net