Boost logo

Boost Users :

Subject: Re: [Boost-users] run-time integer log2
From: Tim Blechmann (tim_at_[hidden])
Date: 2010-07-13 09:53:46


> there is a GSOC project "Bits and Ints" that is working on a lot off this
> kind of branch less algorithms. I can suggest him to include the integer
> runtime variant of some math functions, as log2.

that would be nice ... it would be even nicer, if you could suggest to make
use of hardware instructions ... i am currently using this gcc-centric code
[1] ...

tim

[1]
http://tim.klingt.org/git?p=boost_heap.git;a=blob;f=boost/heap/detail/ilog2.hpp

-- 
tim_at_[hidden]
http://tim.klingt.org
After one look at this planet any visitor from outer space would say
"I want to see the manager."
  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