
| -----Original Message----- | From: boost-bounces@lists.boost.org | [mailto:boost-bounces@lists.boost.org] On Behalf Of Paul Giaccone | Sent: 02 May 2006 17:46 | To: boost@lists.boost.org | Subject: Re: [boost] | [serialization]Serialisation/deserialisationoffloating-point values | > | >>The Standard is imprecise on this issue, but I feel it is | a very poor | >>do that such a bizarre small range of values should be wrong. | >> | >>Feels like an off-by-one rounding bug to me. | But we're not talking about calculations here - you always | get rounding error in floating-point calculations, and we | handle it accordingly. But if I write out 1.2345 and it | becomes 1.2346 when I read it back, that's cause for concern. That is, in effect, what is happening - but at the 17th decimal digit. I suspect a rounding in the operator>> code - but I am only wildly guessing ;-) Paul --- Paul A Bristow Prizet Farmhouse, Kendal, Cumbria UK LA8 8AB +44 1539561830 & SMS, Mobile +44 7714 330204 & SMS