
25 Jul
2006
25 Jul
'06
11:01 a.m.
----Original Message---- From: Johan RĂ¥de
template<class T> bool is_nan(T a) { return a != a; }
1. Do these implementations work an all platforms?
I believe is_nan is vunerable to over-eager optimizers for built-in types.
2. The category not-a-number can be divided into the sub-categories quite not-a-number and signalling not-a-number. ^^^^^ Should be "quiet". This error has continued throughout the email chain, so it is obviously not just a simple typo (or it is getting copy-and-pasted).
-- Martin Bonner Martin.Bonner@Pitechnology.com Pi Technology, Milton Hall, Ely Road, Milton, Cambridge, CB4 6WZ, ENGLAND Tel: +44 (0)1223 203894