
25 Jul
2006
25 Jul
'06
8:41 a.m.
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, serialization/non_finite_num_facets.zip). And this code contains yet another is_nan function.