
John Maddock wrote:
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.
Yes! I'm working on these and other functions, see http://www.johnmaddock.co.uk/toolkit for a reasonably recent sets of docs, follow the link to floating point classification.
HTH, John.
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
I think John Maddock is well qualified to submit a general is_nan function. He has obviously thought a lot about floating point arithemtic and tested things on several different platforms. He is working on a math tool kit library that contains an is_nan function. Maybe he could just extract that function and submit it. --Johan Råde