4 May
2015
4 May
'15
7:26 a.m.
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.