Compute the median of the data set as the midpoint between the two middle
authoraraujo <araujo@FreeBSD.org>
Tue, 24 Nov 2015 02:30:59 +0000 (02:30 +0000)
committeraraujo <araujo@FreeBSD.org>
Tue, 24 Nov 2015 02:30:59 +0000 (02:30 +0000)
commit835b818769c9408e6929b658b306e9ba1802e2ed
tree12c42bdb09e68b60dcd96bae064b4cbfa44fb8fd
parentba54012c272f6b0d9d93a4e340d8ea6d36609f60
Compute the median of the data set as the midpoint between the two middle
values when the data set has an even number of elements.

PR: 201582
Submitted by: Marcus Reid <marcus@blazingdot.com>
Reviewed by: imp
Approved by: bapt (mentor)
usr.bin/ministat/ministat.c