title: Any C++ libraries available to convert between floating point representations?
body: <p>I recently had a need to interpret a DEC 32-bit floating point representation.  It differs from the IEEE floating point representations in the number of bits allocated to the exponent and mantissa.</p>
  
  <p>Here's a description of a bunch of floating point formats:</p>
  
  <p><a href="http://www.quadibloc.com/comp/cp0201.htm" rel="nofollow noreferrer">http://www.quadibloc.com/comp/cp0201.htm</a></p>
  
  <p>I managed to roll my own C++ code to stuff a DEC 32-bit float into an IEEE 32-bit float but was wondering if there were any libraries out there that had tackled this conversion and others already.</p>
  
  <p>I checked <a href="http://www.boost.org" rel="nofollow noreferrer">boost.org</a> but didn't see any in there.</p>