Searched refs:sumWithCompensation (Results 1 – 4 of 4) sorted by relevance
/libcore/ojluni/src/test/java/util/DoubleStreamSums/ |
D | CompensatedSums.java | 74 sumWithCompensation(sum, rand[i]); in testCompensatedSums() 116 static double[] sumWithCompensation(double[] intermediateSum, double value) { in sumWithCompensation() method in CompensatedSums 139 sumWithCompensation(ll, d); 144 sumWithCompensation(ll, rr[0]); 145 sumWithCompensation(ll, rr[1]); 151 sumWithCompensation(ll, rr[0]); 152 sumWithCompensation(ll, -rr[1]);
|
/libcore/ojluni/src/main/java/java/util/ |
D | DoubleSummaryStatistics.java | 143 sumWithCompensation(value); in accept() 158 sumWithCompensation(other.sum); in combine() 161 sumWithCompensation(-other.sumCompensation); in combine() 170 private void sumWithCompensation(double value) { in sumWithCompensation() method in DoubleSummaryStatistics
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | DoublePipeline.java | 469 Collectors.sumWithCompensation(ll, d); 473 Collectors.sumWithCompensation(ll, rr[0]); 475 Collectors.sumWithCompensation(ll, -rr[1]); 513 Collectors.sumWithCompensation(ll, d); 517 Collectors.sumWithCompensation(ll, rr[0]); 519 Collectors.sumWithCompensation(ll, -rr[1]);
|
D | Collectors.java | 734 sumWithCompensation(a, val); 736 (a, b) -> { sumWithCompensation(a, b[0]); 739 return sumWithCompensation(a, -b[1]); }, 755 static double[] sumWithCompensation(double[] intermediateSum, double value) { 850 …(a, t) -> { double val = mapper.applyAsDouble(t); sumWithCompensation(a, val); a[2]++; a[3]+= val;… 852 sumWithCompensation(a, b[0]); 854 sumWithCompensation(a, -b[1]);
|