https://issues.apache.org/ooo/show_bug.cgi?id=125823

          Issue ID: 125823
        Issue Type: ENHANCEMENT
           Summary: Equation shows "Inf" in special exponential regression
                    curve
           Product: General
           Version: 4.1.1
          Hardware: All
                OS: Windows 7
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: chart
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 84156
  --> https://issues.apache.org/ooo/attachment.cgi?id=84156&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

Reply via email to