Fix to std dev calculation in ping

This commit is contained in:
Pete Goodeve
2013-09-11 14:30:47 +02:00
committed by Philippe Houdoin
parent fb90f7ffe4
commit 78e450554e
+1 -1
View File
@@ -918,7 +918,7 @@ uint64 qsqrt(uint64 qdev)
x = qdev / x;
x += y;
x /= 2;
} while ((x - y) > 1 || (x - y) > -1);
} while ((x - y) > 1 || (x - y) < -1);
return (uint64) x;
}