On Sat, Feb 12, 2011 at 10:15:58AM +0100, Vitor Sessak wrote: > Using doubles make the double -> int cast well defined for all the values > used, with the exception of when s[i]==1.0, which is special-cased. > --- Since it's for bitexactness I'm fine with it.