mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backout 6e391f971a13 (bug 826439) for xpcshell failures
This commit is contained in:
parent
85bec7c3cf
commit
11064cae84
@ -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…
Reference in New Issue
Block a user