Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70740 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3761 invoked from network); 19 Dec 2013 03:17:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Dec 2013 03:17:13 -0000 Authentication-Results: pb1.pair.com smtp.mail=tjerk.meesters@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tjerk.meesters@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.128.169 as permitted sender) X-PHP-List-Original-Sender: tjerk.meesters@gmail.com X-Host-Fingerprint: 209.85.128.169 mail-ve0-f169.google.com Received: from [209.85.128.169] ([209.85.128.169:46366] helo=mail-ve0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 37/93-14632-73562B25 for ; Wed, 18 Dec 2013 22:17:12 -0500 Received: by mail-ve0-f169.google.com with SMTP id c14so331000vea.14 for ; Wed, 18 Dec 2013 19:17:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=7kXbcXin83dVY6ilCQTHpcZ5hJwVEm4XJbTiubLpLG4=; b=GUJf477al7RApS33gZpHDwNBeILbsGalIUOTwiF9VsGaEZyoSDj0FlHXv8lLRQWAOD OQHBcsZiYPHeErMjDQYTeKqTP84XXO43Iq2ML0ueFy01iuQTzxK8CLQEVqAQFqFk/o7y tH+8mZlplPezjswhSybC4+aAtDO0nKs6uLNaIumKKuyuIM7dW0+dxsu4/XLlnNKkbIwd eIQCLQrvGzWcwyINvbAIoRgrcIIp07BayFbWOLt7Av/vY7rtwUeYTpu5qbrCfHDZgZRa k7ZLLRoD8HPFj2nnUDf+64N0KErTWgu+Zsft+BWbYNQl7OPTe/gfnzinnAFdm1HlNBVv 0LDQ== MIME-Version: 1.0 X-Received: by 10.58.67.9 with SMTP id j9mr15069050vet.3.1387423028993; Wed, 18 Dec 2013 19:17:08 -0800 (PST) Received: by 10.58.128.33 with HTTP; Wed, 18 Dec 2013 19:17:08 -0800 (PST) In-Reply-To: References: Date: Thu, 19 Dec 2013 11:17:08 +0800 Message-ID: To: Hannes Magnusson Cc: Kris Craig , PHP Internals Content-Type: multipart/alternative; boundary=047d7b339e07cbe3ec04edda9833 Subject: Re: [PHP-DEV] Re: [vote] pow-operator From: tjerk.meesters@gmail.com (Tjerk Meesters) --047d7b339e07cbe3ec04edda9833 Content-Type: text/plain; charset=ISO-8859-1 Hi Hannes, On Thu, Dec 19, 2013 at 10:08 AM, Hannes Magnusson < hannes.magnusson@gmail.com> wrote: > On Wed, Dec 18, 2013 at 6:04 PM, Tjerk Meesters > wrote: > > Hi Kris, > > > > > > On Thu, Dec 19, 2013 at 8:35 AM, Kris Craig > wrote: > > > >> > >>> That said, if there are other reasons for voting 'no' besides > >>> associativity, feel free to shoot me an email or discuss it on the > list. > >>> > >> > >> What did it for me was the lower precedence for the unary minus. I > don't > >> want to have another language that thinks a negative number squared is a > >> negative number. I understand and respect your reasoning as outlined in > >> the RFC, but this is a deal-breaker for me. > >> > > > > I've had a short discussion with Anthony about this and he convinced me > > that I was indeed wrong about my "unary minus" reasoning; therefore I > have > > updated the RFC to reflect that. So: > > > > > I'm a little bit confused. > > Are you modifying the poll, and the rfc itself, in the middle of a vote? > You're right. I've made a faux pas, I shouldn't have done that. Sorry Kris, the change is reverted; in fact, the following documents back up my original implementation choice: - http://mathforum.org/library/drmath/view/53194.html - http://math.stackexchange.com/questions/491933/exponent-rules-with-negative-numbers - http://math.stackexchange.com/questions/68833/what-does-22-evaluate-to/68834#68834 If the conceptual design of php is that unary operators must bind stronger than any binary operator, we would have to restart the vote but I'm hoping that won't be necessary. I shouldn't make decisions before coffee. Apologies for the confusion! > > -Hannes > -- -- Tjerk --047d7b339e07cbe3ec04edda9833--