
| -----Original Message----- | From: boost-bounces@lists.boost.org | [mailto:boost-bounces@lists.boost.org] On Behalf Of Andy Little | Sent: 17 August 2006 13:51 | To: boost@lists.boost.org | Subject: Re: [boost] [serialization] facets for non-finite numbers | | | "Hubert Holin" <Hubert.Holin@lmd.polytechnique.fr> wrote in message | news:loom.20060817T140855-29@post.gmane.org... | > Johan RĂ¥de <rade <at> maths.lth.se> writes: | > | >> Output is consistent with C99. (In particular, | negative NaN is | >> written as "-nan". | > | > Paris (U.E.), le 17/08/2006 | > | > Bonjour | > | > *Negative* Not-A-Number? What is such a beast, and what should | > it be used for? | | It suggests to me a saturation in the negative direction, | IOW a number less than -std::numerics<T>::max(). | | An example use might be when you have an error integrator | in a positional servo | system, but I don't know if that is the effect here. That is indeed the *intention* - but entirely USER-DEFINED and with NO MATH MEANING. NaNs are never > < or == anyway? Paul --- Paul A Bristow Prizet Farmhouse, Kendal, Cumbria UK LA8 8AB +44 1539561830 & SMS, Mobile +44 7714 330204 & SMS pbristow@hetp.u-net.com