| Summary: | OpenCL: Xirr function failure in build ... | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Michael Meeks <michael.meeks> |
| Component: | Spreadsheet | Assignee: | Kohei Yoshida (inactive) <libreoffice> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | medium | CC: | markus.mohrhard |
| Version: | 4.2.0.0.alpha0+ Master | ||
| Hardware: | x86-64 (AMD64) | ||
| OS: | Linux (All) | ||
| Whiteboard: | target:4.3.0 target:4.2.6 | ||
| i915 platform: | i915 features: | ||
| Attachments: |
clinfo.txt
hwinfo.txt |
||
|
Description
Michael Meeks
2014-03-13 19:51:42 UTC
Created attachment 95743 [details]
clinfo.txt
Created attachment 95744 [details]
hwinfo.txt
AnalysisAddIn::getXirr() in scaddins/source/analysis/financial.cxx implements this. This is a numerically very unstable algorithm similar to our goal seek function. Kohei Yoshida committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=ca25cdcb398f200ce5d53286eea02d49d8d1c5f4 fdo#76140: Reimplement XIRR OpenCL test. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. I tried to understand why Calc's results are often different than Excel's then quickly gave up. The algorithm used in XIRR is much like goal seek's and is pretty much a black box. Instead, I just focused on the OpenCL calculation results against Calc's internal interpreter, which is what the original test did anyway. Hopefully my above commit will improve the situation. Michael said this fixes for him. I'll mark it fixed. Kohei Yoshida committed a patch related to this issue. It has been pushed to "libreoffice-4-2": http://cgit.freedesktop.org/libreoffice/core/commit/?id=a6a51ef9dd991e11c90317f4d6c29dfb310e1a17&h=libreoffice-4-2 fdo#76140: Reimplement XIRR OpenCL test. It will be available in LibreOffice 4.2.6. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.