Backout 6e391f971a13 (bug 826439) for xpcshell failures

This commit is contained in:
Ed Morley 2013-01-04 16:07:27 +00:00
parent 85bec7c3cf
commit 11064cae84

View File

@ -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;
}