From: Paul A Bristow (pbristow_at_[hidden])
Date: 2006-05-02 12:54:07
| -----Original Message-----
| From: boost-bounces_at_[hidden]
| [mailto:boost-bounces_at_[hidden]] On Behalf Of Paul Giaccone
| Sent: 02 May 2006 17:46
| To: boost_at_[hidden]
| 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 A Bristow Prizet Farmhouse, Kendal, Cumbria UK LA8 8AB +44 1539561830 & SMS, Mobile +44 7714 330204 & SMS
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk