On 17 February 2011 17:51, Christophe Lyon <christophe.l...@st.com> wrote:
>> ...and a runtime division just to get a constant 0.5? >> Better to just make_float64() on the appropriate bit >> pattern, I think. > > It makes sense. > Then, what about using the right bit patterns for 512 and 256? Not so worried about those -- it's really the division I wanted to avoid, int-to-float isn't as expensive. -- PMM