Révision 65
| pobysoPythonSage/src/sageSLZ.sage (revision 65) | ||
|---|---|---|
| 30 | 30 |
maxErrorSa = pobyso_get_constant_as_rn_with_rf_so_sa(maxErrorSo) |
| 31 | 31 |
while maxErrorSa > approxPrecSa: |
| 32 | 32 |
sollya_lib_clear_obj(maxErrorSo) |
| 33 |
errorRatioSa = 1/(maxErrorSa/approxPrecSa).log2()
|
|
| 33 |
errorRatioSa = (approxPrecSa/maxErrorSa).log2()
|
|
| 34 | 34 |
#print "Error ratio: ", errorRatioSa |
| 35 | 35 |
if errorRatioSa < intervalShrinkConstFactorSa: |
| 36 | 36 |
#currentUpperBoundSa = currentLowerBoundSa + (currentUpperBoundSa - currentLowerBoundSa) * errorRatioSa |
Formats disponibles : Unified diff