| Summary: | ROUNDDOWN returns invalid results when working with larger numbers | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | brianjheisler <brianjheisler> |
| Component: | Calc | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | CLOSED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | medium | ||
| Version: | 7.4.5.1 release | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
|
Description
brianjheisler@gmail.com
2023-04-17 21:17:35 UTC
> A4 should be 28147497671265 Should be 28147497671265.2 > B4 should be 2814749767126 Should be 2814749767126.2 Anyway, fixed with bug 154792. *** This bug has been marked as a duplicate of bug 154792 *** I wrote up Bug 154871 thinking that the problem described in Bug 154792 was a different issue (losing several digits of significance vs. a single count in the least significant digit*). *This is how I read it anyway. (ROUNDDOWN(28147497671265.2,0) results in 28147497671300 instead of 28147497671265 (notice ...1300 vs ...1265, a two digit error of 35) and scaling up by x10 scales up the lost data by x10 (a three digit error).) Reading the notes in Bug 154792 suggests that this subject can get a bit deep. I see this function has been modified and will be available with 7.6.0. For now, I'll shelve my observations and defer to the better-informed. When 7.6.0 is released, I will revisit and test. |