[tor-dev] tor's definition of 'median'

Andreas Krey a.krey at gmx.de
Tue Aug 11 14:43:52 UTC 2015

On Tue, 11 Aug 2015 13:44:48 +0000, Virgil Griffith wrote:
> I mean the median.
> >From Wikipedia...
> For example, if *a* < *b* < *c*, then the median of the list {*a*, *b*, *c*}
> is *b*, and, if *a* < *b* < *c* < *d*, then the median of the list {*a*, *b*
> , *c*, *d*} is the mean of *b* and *c*; i.e., it is (*b* + *c*) / 2.

In the preceding paragraph wikipedia isn't that strict:
'the median is then usually defined to be the mean of the two middle values',
and tor is unusual. :-)


"Totally trivial. Famous last words."
From: Linus Torvalds <torvalds@*.org>
Date: Fri, 22 Jan 2010 07:29:21 -0800

More information about the tor-dev mailing list