Subject: CVS commit: src/sbin/ping6
To: None <source-changes@NetBSD.org>
From: Rui Paulo <rpaulo@netbsd.org>
List: source-changes
Date: 05/18/2006 02:14:22
Module Name:	src
Committed By:	rpaulo
Date:		Thu May 18 02:14:22 UTC 2006

Modified Files:
	src/sbin/ping6: ping6.c

Log Message:
Replace the way we calculate the standard deviation with the unbiased form
for non-related samples. There are several websites that explain why we
should use this form instead of the normal formula to compute the std. dev.
(Wikipedia is one of them).
Also, ping(8) (where this "new" formula came from) already does it this way
so, I'm trying to score some extra points by making both utilities behave
the same way.

Thanks to wrtstuden@ for the initial clarification.


To generate a diff of this commit:
cvs rdiff -r1.68 -r1.69 src/sbin/ping6/ping6.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.