Boost logo

Boost Users :

Subject: [Boost-users] [Multiprecision] Get mantissa of a float
From: Leonardo Yvens (leoyvens_at_[hidden])
Date: 2015-05-03 11:42:39


Hello,

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.

Thank you very much,
Leo Y.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net