qt5base-lts/tests/auto/corelib/tools/qstring
Mitch Curtis 872f0b94ac Make QString("inf").toFloat() return inf instead of zero.
Currently, QString::toFloat() returns 0 (and sets ok to false) if you
try to convert "inf". This is because inf is greater than QT_MAX_FLOAT
and there is currently no check to handle inf.

Task-number: QTBUG-8629
Change-Id: I498daf4a7a6f880f928461fca628fcaf7d1d6d08
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
2012-06-05 06:14:57 +02:00
..
.gitignore Moving relevant tests to corelib/tools 2011-09-01 13:07:23 +02:00
double_data.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qstring.pro Cleanup corelib autotests 2011-11-11 02:45:05 +01:00
tst_qstring.cpp Make QString("inf").toFloat() return inf instead of zero. 2012-06-05 06:14:57 +02:00