
| -----Original Message----- | From: boost-bounces@lists.boost.org | [mailto:boost-bounces@lists.boost.org] On Behalf Of Damien Fisher | Sent: 06 April 2006 16:23 | To: boost@lists.boost.org | Subject: Re: [boost] | [serialization]Serialisation/deserialisationoffloating-point values | | >From your previous comments it sounds like there is a real | problem in MSVC. | But from this comment it sounds like maybe not? Or maybe I'm | misunderstanding your comment (i.e., does it just apply to | the example you gave?). It helps to use debug mode if you expect an assert to fire ;-) Doh! Attached is a test that DOES fail for me, and I will post a fuller test to the vault when I can. Sorry for noise. Paul PS A possible workaround: std::stringstream s; ss << scientific << output_value; works for all cases tried (100000000). This will increase the size of the XML (for exmaple) archive file, of course, but... PPS I note that if you repeatedly serialize and restore then you may get a 1 bit creep up each time - it could build up to significant differences. -- Paul A Bristow Prizet Farmhouse, Kendal, Cumbria UK LA8 8AB Phone and SMS text +44 1539 561830, Mobile and SMS text +44 7714 330204 mailto: pbristow@hetp.u-net.com http://www.hetp.u-net.com/index.html http://www.hetp.u-net.com/Paul%20A%20Bristow%20info.html