Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/shared/gcUtil.cpp @ 14314:2c95095271e9
Merge
author | ehelin |
---|---|
date | Thu, 30 Jan 2014 14:01:45 +0100 |
parents | 63a4eb8bcd23 |
children | 4ca6dc0799b6 |
comparison
equal
deleted
inserted
replaced
14302:1fb56cbac3a1 | 14314:2c95095271e9 |
---|---|
157 // true for a slope of 0. That is because a change is necessary before | 157 // true for a slope of 0. That is because a change is necessary before |
158 // a slope can be calculated and a 0 slope will, in general, indicate | 158 // a slope can be calculated and a 0 slope will, in general, indicate |
159 // that no calculation of the slope has yet been done. Returning true | 159 // that no calculation of the slope has yet been done. Returning true |
160 // for a slope equal to 0 reflects the intuitive expectation of the | 160 // for a slope equal to 0 reflects the intuitive expectation of the |
161 // dependence on the slope. Don't use the complement of these functions | 161 // dependence on the slope. Don't use the complement of these functions |
162 // since that untuitive expectation is not built into the complement. | 162 // since that intuitive expectation is not built into the complement. |
163 bool LinearLeastSquareFit::decrement_will_decrease() { | 163 bool LinearLeastSquareFit::decrement_will_decrease() { |
164 return (_slope >= 0.00); | 164 return (_slope >= 0.00); |
165 } | 165 } |
166 | 166 |
167 bool LinearLeastSquareFit::increment_will_decrease() { | 167 bool LinearLeastSquareFit::increment_will_decrease() { |