Boost logo

Boost :

From: Paul A Bristow (pbristow_at_[hidden])
Date: 2006-08-17 09:19:29


 

| -----Original Message-----
| From: boost-bounces_at_[hidden]
| [mailto:boost-bounces_at_[hidden]] On Behalf Of Andy Little
| Sent: 17 August 2006 13:51
| To: boost_at_[hidden]
| Subject: Re: [boost] [serialization] facets for non-finite numbers
|
|
| "Hubert Holin" <Hubert.Holin_at_[hidden]> wrote in message
| news:loom.20060817T140855-29_at_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_at_[hidden]
 

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk