Boost logo

Boost :

Subject: Re: [boost] Extracting floating point constant exponent/mantissa at compile time
From: Joel Falcou (joel.falcou_at_[hidden])
Date: 2009-04-16 14:26:21

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

Boost list run by bdawes at, gregod at, cpdaniel at, john at