To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=96872 Issue #|96872 Summary|Bug in calculation, formula "=(n+1)-n" (where n >= 2^4 |8) gives 0 as result Component|Spreadsheet Version|OOo 2.4.1 Platform|PC URL| OS/Version|Linux Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|spreadsheet Reported by|lhotari
------- Additional comments from [EMAIL PROTECTED] Thu Dec 4 05:12:45 +0000 2008 ------- I noticed that there is some kind of bug in OOCalc 2.4.1 (Ubuntu 8.04 Hardy, 32bit kernel: 2.6.24-22-386 #1 Mon Nov 24 17:51:53 UTC 2008 i686 GNU/Linux): =500000000000009-500000000000008 gives zero as the result I made some tests and I found out that the limit is 2^48. formula "=(n+1)-n" (where n >= 2^48) always gives 0 as the result. =281474976710657-281474976710656 0 (incorrect) =281474976710656-281474976710655 1 (correct) =(POWER(2;48)-1)-(POWER(2;48)-2) 1 (correct) =(POWER(2;48)+2)-(POWER(2;48)+1) 0 (incorrect) =(POWER(2;48)+123)-(POWER(2;48)+122) 0 (incorrect) --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]