.
D 2004-11-05T23:34:28
J assignee msofer
J icomment Logged\sIn:\sYES\s\nuser_id=99768\n\nUgh.\s\sI\sjust\slooked\sthis\sone\sup.\n\nVC++6\sis\snot\sIEEE-754\scompliant\swith\srespect\sto\sNaN\ncomparisons.\s\s(I\sdisassembled\sthe\sobject\scode\s-\sand\nverified\sthis.\s\sIt\ssimply\sdoesn't\scheck\sfor\s"unordered"\nin\sthe\sresult\sword.\s\sVC.NET\sallegedly\sfixes\sthis\s-\ssee\nfor\sexample\n\nhttp://msdn.microsoft.com/library/en-us/dndeepc/html/deep05282002.asp\n\nWhere\sdoes\sthat\sleave\sus?\s\sWe\sprobably\sneed\sto\ndo\sexplicit\stests\sfor\sthe\s"special\svalues"\swhen\ncompiling\son\sVC++6.\s\sThere\sare\stests\savailable\sin\n<float.h>:\n\n_finite(x)\s-\sReturns\sTRUE\sfor\sordinary\sand\ssubnormal\nvalues,\sFALSE\sfor\sInf\sand\sNaN\n\n_isnan(x)\s-\sReturns\sTRUE\sfor\sNaN,\sFALSE\sfor\neverything\selse.\n\n_fpclass(x)\s-\sReturns\sa\svalue\sthat\sclassifies\sa\sgiven\nFP\snumber.\s\sSee\nhttp://msdn.microsoft.com/library/en-us/vccore98/HTML/_crt__fpclass.asp\nfor\sthe\sconstants.\n
J login kennykb
J mimetype text/plain
J resolution None
J username kennykb
K 761471ffffffffffffffffffffffffffffffffff
U kennykb
Z cf011e96f7747a49168d200ba591b6e1