偶然发现了一个检测浮点数是否是NaN的做法:如果f == f返回false,就表示f是NaN。对于float和double都管用。
Random posts:随便看看:
什么方法?
帖子内容不是写了吗
OGRE里就是这样d。。
Name (required)
Mail (will not be published) (required)
Website
If you liked KlayGE, please consider a donation by buying a KlayGE logo image. Even $1 helps.
Comments