COmparing NaN with a number

Hi,

I am wondering what will happen if I want to get min of NaN and an arbitrary number?

Best,
waschbaer
Last edited on
NaN requires special-casing when any standard library algorithm involving comparisons is used.
See: http://www.cplusplus.com/forum/lounge/142647/#msg753191
THanks
Topic archived. No new replies allowed.