HomeFreeBSD

Let the standard deviation of the empty set be 0. This is consistent with

Description

Let the standard deviation of the empty set be 0. This is consistent with
the behaviour for averages, and fixes a crash that can occur when attempting
to print a stddev aggregation containing no elements:

dtrace:::BEGIN { @ = stddev(0); clear(@); printa("%@d", @); }

PR: 197260
MFC after: 2 week

Details

Provenance
markjAuthored on
Parents
rS278113: Add the llvm patch corresponding to r278112.
Branches
Unknown
Tags
Unknown

Event Timeline