In the documentation they say "The quiet NaN for type int is: 0"... how can I discriminate between NaN and real 0?
– luvieereOct 05 '09 at 13:45
1
@luvieere. Check std::numeric_limits::has_quiet_NaN; You will find it is false. while std::numeric_limits::has_quiet_NaN is true
– Martin YorkOct 05 '09 at 16:09