> I am writing my own DLL and I need to be able to check to see if a
> number is NaN. I haven't seen any documentation pretaining to this.
>
NaN is a standard IEEE value. If you have math libraries and headers
included, you should be able to to call isNaN(). A low tech way if you
need a workaround is to compare the value to 0.0. NaN is not less than,
not greater than, and not equal to any other numeric value such as 0.0.
You do need to test this out though since I've seen compilers that
optimize this code improperly.
Greg McKaskle