From: Johan Råde (rade_at_[hidden])
Date: 2006-07-25 04:41:14
Joe Gottman wrote:
> Several libraries have an is_nan() function buried deep in the code. Are
> there any plans to make a general is_nan function available? This would be
> quite useful, as well as similar functions like is_finite.
> Joe Gottman
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
That would be useful.
I just put together some facets for writing and reading non-finite
floating point numbers to text streams in a consistent and portable
manner. (The code is available in the boost vault,
And this code contains yet another is_nan function.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk