Sorry, I haven't been able to figure this out either. Maybe you need to deconstruct the floating point number and verify that the exponent = 0xFF and the mantissa != 0.
Check these sites.
http://www.psc.edu/general/software/packages/ieee/ieee.html
http://community.borland.com/article/0,1410,16716,00.html
The Borland article looks like its using the IEEE single, not double, but I haven't gone through it or tried it yet.