title: easy hex/float conversion
body: <p>I am doing some input/output between a c++ and a python program (only floating point values) python has a nice feature of converting floating point values to hex-numbers and back as you can see in this link:</p>
  
  <p><a href="http://docs.python.org/library/stdtypes.html#additional-methods-on-float" rel="nofollow noreferrer">http://docs.python.org/library/stdtypes.html#additional-methods-on-float</a></p>
  
  <p>Is there an easy way in C++ to to something similar? and convert the python output back to C++ double/float? This way I would not have the problem of rounding errors when exchanging data between the two processes...</p>
  
  <p>thx for the answers!</p>