freebsd-nq/usr.bin
Ed Maste a9cf54b0c9 ministat: disallow negative variance / nan Stddev
With all values identical it was possible for Var() to return a negative
value due to limited floating point precision, resulting in "nan"
reported as Stddev.

Variance cannot actually be negative, so just return 0.  We can later
investigate alternate algorithms for calculating variance to reduce the
effect of catastrophic cancellation here.

Reported by:	Arshan Khanifar <arshankhanifar_gmail.com>
Approved by:	phk
Sponsored by:	The FreeBSD Foundation
2018-02-21 15:54:23 +00:00
..
addr2line
alias
apply
ar
asa
at
atm
awk awk(1): Don't install tests at all 2018-01-29 14:15:44 +00:00
banner
basename
bc
biff
bluetooth
bmake
brandelf
bsdcat MFV r328323,328324: 2018-01-24 14:24:17 +00:00
bsdiff
bzip2
bzip2recover
c89
c99
caesar
calendar
cap_mkdb
chat
chkey
chpass
cksum
clang Promote llvm-cov to a standalone option 2018-02-10 00:22:35 +00:00
cmp
col
colldef
colrm
column
comm
compile_et
compress
cpio
cpuset
csplit
ctags
ctlstat
cut
cxxfilt
dc
diff
diff3
dirname
dpv
drill
dtc dtc(1): Revert WARNS change from r328173 2018-01-31 22:20:33 +00:00
du
ee
elf2aout
elfcopy
elfdump
enigma
env
expand
factor
false
fetch
file
file2c
find Allow compiling usr.bin/find on Linux and Mac 2018-02-06 15:41:26 +00:00
finger
fmt
fold
fortune fortune(6): Fix gcc80 -Wbool-operation warnings. 2018-01-27 17:43:09 +00:00
from
fstat
fsync
ftp
gcore
gencat
getaddrinfo
getconf
getent
getopt
gprof
grdc
grep
gzip
head
hesinfo
hexdump
host
iconv
id
ident
indent
ipcrm Get rid of the requirement to include SysV IPC headers with _KERNEL 2018-02-16 01:33:01 +00:00
ipcs Follow r329348 in ipcs for getting rid of the requirement to include SysV IPC 2018-02-16 18:07:04 +00:00
iscsictl
join
jot
kdump
keylogin
keylogout
killall
ktrace
ktrdump
lam
last
lastcomm
ldd
leave
less
lessecho
lesskey
lex Fix broken SPDX comment in usr.bin/lex/initparse.c 2018-02-07 17:09:12 +00:00
limits
locale
localedef
locate
lock Make lock(1) use PAM. This makes the -p option work again. (Well, kind of, 2018-02-11 13:35:31 +00:00
lockf
logger
login
logins
logname
look
lorder
lsvfs
lzmainfo
m4 m4: add annotations to various functions 2018-01-24 07:01:44 +00:00
mail
man
mandoc
mesg
minigzip
ministat ministat: disallow negative variance / nan Stddev 2018-02-21 15:54:23 +00:00
mkcsmapper
mkcsmapper_static
mkdep
mkesdb
mkesdb_static
mkfifo
mkimg
mklocale
mkstr
mktemp
mkuzip
morse
msgs
mt
nc
ncal
netstat
newgrp
newkey
nfsstat nfsstat: Add libxo output 2018-01-30 09:59:52 +00:00
nice
nl
nm
nohup
numactl
number
opieinfo
opiekey
opiepasswd
pagesize
pamtest
passwd
paste
patch
pathchk
perror
pom
pr
primes
printenv
printf
proccontrol
procstat
protect
quota
random
rctl
readelf
renice
resizewin
rev
revoke
rpcgen
rpcinfo
rs
rup
ruptime
rusers
rwall
rwho
script
sdiff
sdiotool
sed
send-pr
seq
setchannel
shar
showmount
size
smbutil
sockstat
soelim
sort Fix the WITH_SORT_THREADS build. 2018-02-07 20:36:37 +00:00
split
ssh-copy-id
stat
stdbuf
strings
su
svn
systat
tabs
tail tail: fix "tail -r" for piped input that begins with '\n' 2018-02-19 22:09:49 +00:00
talk
tar
tcopy
tee
telnet
tests
tftp Fix uninitialized warning, and work around a bug in gcc over clobbering 2018-02-10 17:17:15 +00:00
time time(1): use clock_gettime(2) instead of gettimeofday(2) 2018-01-24 17:12:34 +00:00
timeout
tip
top
touch
tput
tr
true
truncate
truss
tset
tsort
tty
ul
uname
unexpand
unifdef
uniq
units
unvis
unzip
usbhidaction
usbhidctl
users
uudecode
uuencode
vacation
vgrind
vi
vis
vmstat Temporarily widen count for interrupt rate calculations on 32-bit archs 2018-02-08 05:18:30 +00:00
vtfontcvt
w
wall
wc
what
whereis
which
who
whois
write
xargs
xinstall
xo
xohtml
xolint
xopo
xstr
xz
xzdec
yacc
yes
ypcat
ypmatch
ypwhich
zstd
Makefile
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.inc
Makefile.powerpc
Makefile.sparc64