K 10 svn:author V 6 emaste K 8 svn:date V 27 2018-02-21T15:54:23.071321Z K 7 svn:log V 506 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 Approved by: phk Sponsored by: The FreeBSD Foundation END