Return-Path: Delivered-To: apmail-poi-dev-archive@www.apache.org Received: (qmail 7990 invoked from network); 25 Jan 2008 20:17:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jan 2008 20:17:08 -0000 Received: (qmail 63886 invoked by uid 500); 25 Jan 2008 20:16:58 -0000 Delivered-To: apmail-poi-dev-archive@poi.apache.org Received: (qmail 63852 invoked by uid 500); 25 Jan 2008 20:16:58 -0000 Mailing-List: contact dev-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "POI Developers List" Delivered-To: mailing list dev@poi.apache.org Received: (qmail 63843 invoked by uid 99); 25 Jan 2008 20:16:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jan 2008 12:16:58 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jan 2008 20:16:40 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id DC8B1714211; Fri, 25 Jan 2008 12:16:46 -0800 (PST) From: bugzilla@apache.org To: dev@poi.apache.org Subject: DO NOT REPLY [Bug 44297] New: - =32767+32768 is evaluated to -1 Message-ID: X-Bugzilla-Reason: AssignedTo Date: Fri, 25 Jan 2008 12:16:46 -0800 (PST) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=44297 Summary: =32767+32768 is evaluated to -1 Product: POI Version: unspecified Platform: Other OS/Version: Windows XP Status: NEW Severity: major Priority: P2 Component: HSSF AssignedTo: dev@poi.apache.org ReportedBy: satysh@gmail.com In spreadsheet I have formula cell which has =32767+32768. When I process this using POI (poi-3.0.10-FINAL), it is evaluated to -1. When I debugged the code, I noticed the formula in cell as =32767+-32768, which is obviously evaluated properly to -1. Now -32768 is not at all expected. is it? Moreover, 32767+32767 works fine. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org For additional commands, e-mail: dev-help@poi.apache.org