PDA

View Full Version : quiet NaN



stefan
12th November 2008, 21:14
hi,

is there something similar to

std::numeric_limits<double>::quiet_NaN()
in Qt?

if qreal is typedef for double on all platforms, how to get NaN for all platforms?

maybe following is a better to use?

std::numeric_limits<qreal>::quiet_NaN()

thank you