Apache OpenOffice (AOO) Bugzilla – Issue 125823
Equation shows "Inf" in special exponential regression curve
Last modified: 2014-11-02 14:36:48 UTC
Created attachment 84156 [details] Wrong term in case of overflow Open attached document. It contains left, top a chart with a regression curve equation. This equation contains "Inf" indicating, that there is an overflow. In similar case of underflow, we have decided, to show f(x)=exp(r+sx) instead of f(x)=a*exp(bx). Similar form of equation should be used on overflow too. The reason of the huge values is, that the x-values are dates and dates are used with there internal numbers. For "normal" x-values, there is no problem, see the right examples in the attached file. The relevant code is in file ExponentialRegressionCurveCalculator.cxx in method ExponentialRegressionCurveCalculator::ImplGetRepresentation Dear core developer, please do not fix it yourself, but leave it as starting task for newcomers.