mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 04:38:02 +00:00
Backout 6e391f971a13 (bug 826439) for xpcshell failures
This commit is contained in:
parent
70bf42c4a2
commit
aa4c0c0f58
@ -746,7 +746,7 @@ void Histogram::SampleSet::AccumulateWithExponentialStats(Sample value,
|
||||
size_t index) {
|
||||
Accumulate(value, count, index);
|
||||
DCHECK_GE(value, 0);
|
||||
float value_log = logf(static_cast<float>(value) + 1.0f);
|
||||
double value_log = log(static_cast<double>(value) + 1);
|
||||
log_sum_ += count * value_log;
|
||||
log_sum_squares_ += count * value_log * value_log;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user