Fix to std dev calculation in ping
This commit is contained in:
committed by
Philippe Houdoin
parent
fb90f7ffe4
commit
78e450554e
@@ -918,7 +918,7 @@ uint64 qsqrt(uint64 qdev)
|
|||||||
x = qdev / x;
|
x = qdev / x;
|
||||||
x += y;
|
x += y;
|
||||||
x /= 2;
|
x /= 2;
|
||||||
} while ((x - y) > 1 || (x - y) > -1);
|
} while ((x - y) > 1 || (x - y) < -1);
|
||||||
|
|
||||||
return (uint64) x;
|
return (uint64) x;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user