Hi,
I have run into a problem with the boost xml serialization of
overflowing floats. On Linux these are being serialized as 'inf' into
the xml files, but when reading the float back in it results in stream
errors. I have searched the archives to find an answer to this, but
without luck. The small program below has been compiled and run on
32-bit and 64-bit Linux (RedHat Enterprise Linux 4) with boost 1.33.1
and 1.34.1. In every case it results in a stream error and the float can
not be read back in from the xml file.
Does anyone know if this is supposed to work ?
#include <fstream>
#include