Return-Path: X-Original-To: apmail-openoffice-dev-archive@www.apache.org Delivered-To: apmail-openoffice-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3FB3BE341 for ; Mon, 11 Feb 2013 01:25:33 +0000 (UTC) Received: (qmail 85116 invoked by uid 500); 11 Feb 2013 01:25:32 -0000 Delivered-To: apmail-openoffice-dev-archive@openoffice.apache.org Received: (qmail 85038 invoked by uid 500); 11 Feb 2013 01:25:32 -0000 Mailing-List: contact dev-help@openoffice.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openoffice.apache.org Delivered-To: mailing list dev@openoffice.apache.org Received: (qmail 85030 invoked by uid 99); 11 Feb 2013 01:25:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2013 01:25:32 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [216.119.133.2] (HELO a2s42.a2hosting.com) (216.119.133.2) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2013 01:25:24 +0000 Received: from 97-126-118-69.tukw.qwest.net ([97.126.118.69]:34655 helo=Astraendo) by a2s42.a2hosting.com with esmtpa (Exim 4.80) (envelope-from ) id 1U4i8i-001pBt-NF; Sun, 10 Feb 2013 20:25:02 -0500 Reply-To: From: "Dennis E. Hamilton" To: Cc: References: <5116D794.1070500@apache.org> <511828CE.5040500@t-online.de> <001c01ce07f1$a2c42780$e84c7680$@apache.org> In-Reply-To: <001c01ce07f1$a2c42780$e84c7680$@apache.org> Subject: RE: Calc behavior: result of 0 ^ 0 Date: Sun, 10 Feb 2013 17:25:00 -0800 Message-ID: <002501ce07f6$9d40c520$d7c24f60$@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQN2XPAr0F+MKWgP93ooeHS0y4MO+gF2c9QbAkS24yaVBVWfoA== Content-Language: en-us X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - a2s42.a2hosting.com X-AntiAbuse: Original Domain - openoffice.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - apache.org X-Get-Message-Sender-Via: a2s42.a2hosting.com: authenticated_id: himself+orcmid.com/only user confirmed/virtual account not confirmed X-Virus-Checked: Checked by ClamAV on apache.org For the record, I checked IS29500-1 (:2008 and :2011) on what the rules = are for OOXML.=20 OOXML does not specify any edge cases or failure modes for SERIESSUM = whatsoever. It simply gives the mathematical expansion and provides a = non-revealing example. =20 On the other hand, POWER(0,0) is defined to return #DIV/0! The = definitions are carried over verbatim from ECMA-376-4 of December 2006. = Nevertheless, Excel 2010 and 2013 (Preview) both result in #NUM! for = =3DPOWER(0,0). =20 (Sigh) -----Original Message----- From: Dennis E. Hamilton [mailto:orcmid@apache.org]=20 Sent: Sunday, February 10, 2013 16:49 To: dev@openoffice.apache.org Subject: RE: Calc behavior: result of 0 ^ 0 [ ... ] PS: It appears that Excel does not satisfy the OpenFormula definition. = =3DSERIESSUM(0,0,1,C1:C1) where C1 =3D PI() returns #NUM! = SERIESSUM(1,0,1,C1:C1) returns PI(). This is the case for Excel 2010 = and Excel 2013 (Preview). Since SERIESSUM has no implementation in = Apache OpenOffice, any interchange-interoperability failure is yet to = come.=20 -----Original Message----- From: Regina Henschel [mailto:rb.henschel@t-online.de]=20 Sent: Sunday, February 10, 2013 15:10 To: dev@openoffice.apache.org Subject: Re: Calc behavior: result of 0 ^ 0 Hi all, Here my view: We should not change the current behavior, because - It is one of three allowed result, so it is not an error. - Changing it, would break old documents. - returning 1 will be consistent with SERIESSUM (I know, that SERIESSUM=20 is currently not yet adapted to ODF1.2, but for SERIESSUM there is no=20 choice.) - returning 1 is the same as in BASIC. [ ... ]