4 May
2015
4 May
'15
12:48 p.m.
That's exactly it, it seems I missed that basic function. Thanks!
Leo
On Mon, May 4, 2015 at 4:26 AM, John Maddock
I'm new to the Multiprecision library, and am trying to extract the
mantissa from a float. Using cpp_bin_float, it's easy to get the exponent, but how can I get the mantissa in a normalized form (1.xxxxxxxxxx)? I tried messing with the limbs, they contain large powers of two, but I couldn't interpret that.
frexp will give you the exponent and mantissa, same as for regular floating point types, is that what you wanted?
John. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users