Issue 125823 - Equation shows "Inf" in special exponential regression curve
Summary: Equation shows "Inf" in special exponential regression curve
Status: UNCONFIRMED
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 4.1.1
Hardware: All Windows 7
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-02 14:36 UTC by Regina Henschel
Modified: 2014-11-02 14:36 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Wrong term in case of overflow (33.44 KB, application/vnd.oasis.opendocument.spreadsheet)
2014-11-02 14:36 UTC, Regina Henschel
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Regina Henschel 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.