
16 Apr
2009
16 Apr
'09
6:26 p.m.
Indeed it helps. I ended up with the roughly same algorithm but I guess I failed horribly at turning it into a macro. I'll try to get it right. What part of this thing is not standard ? Why do you split the double in 2 parts instead of storing it in a integral_constant<uint64_t> ? Can't it be easier if we defines a float as a value in [0,1> and a power of ten aka FLOAT(0.146824,+6) then ocnvert the a*10^b into m*2^e ? Is boost::mpl::double_ planne dot be merged sometimes in main trunk ? Thanks in advance -- ___________________________________________ Joel Falcou - Assistant Professor PARALL Team - LRI - Universite Paris Sud XI Tel : (+33)1 69 15 66 35