Commit 41208f66 authored by Christian Stenger's avatar Christian Stenger
Browse files

Re-enable printing of NAN for execution time



Change-Id: I50bfd95808c90a30501bdf32f484dd035cc2f30b
Reviewed-by: default avatarTim Jenssen <tim.jenssen@theqtcompany.com>
parent 6571c85f
......@@ -69,8 +69,8 @@ static bool xmlExtractTypeFileLine(const QString &code, const QString &tagStart,
static QString formatResult(double value)
{
//NAN is not supported with visual studio 2010
// if (value < 0 || value == NAN)
// return QLatin1String("NAN");
if (value < 0)// || value == NAN)
return QLatin1String("NAN");
if (value == 0)
return QLatin1String("0");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment