Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70306 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4054 invoked from network); 23 Nov 2013 00:01:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Nov 2013 00:01:02 -0000 Authentication-Results: pb1.pair.com header.from=theanomaly.is@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=theanomaly.is@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.174 as permitted sender) X-PHP-List-Original-Sender: theanomaly.is@gmail.com X-Host-Fingerprint: 209.85.212.174 mail-wi0-f174.google.com Received: from [209.85.212.174] ([209.85.212.174:55320] helo=mail-wi0-f174.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 75/B0-00832-E30FF825 for ; Fri, 22 Nov 2013 19:01:02 -0500 Received: by mail-wi0-f174.google.com with SMTP id ez12so1461208wid.1 for ; Fri, 22 Nov 2013 16:00:59 -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=3eKW0T0TXxdRxYhqw2YdYntnlFGbB0ZN15aJGMTXEb0=; b=LwsWVYQr5S2liP3QeNOFfBJtYLiOjyR2ZA+k9F/GCewINP/Jc+dUijQqRATdY4sDmz OntMmiYIRMtTtLPSX/+8u3vQThg2kt0k9L0dvlFl5r+5hu0Eu0mM1SjbBQM+INR0BkCT GsdInepe9FiSlry60/xRAj67hVTJFCo624DRdj8Gzn+VU7U5t4evjfFlNdUmsnuKLBo8 0v10qh1T9/Sa5XHWgLmrZAIT2G89J5EdzwWJ3+3hur2MGbiSmHliqvmGoKKsBQlDT2HO xEdtoTwApsE/+7ZqvfS/WRuK8TNYQOV3pvo9o/kZbwBI04kmpuqqUCl6DCoFO7Q7sW6i 053w== MIME-Version: 1.0 X-Received: by 10.194.240.129 with SMTP id wa1mr12480324wjc.31.1385164859762; Fri, 22 Nov 2013 16:00:59 -0800 (PST) Received: by 10.227.134.196 with HTTP; Fri, 22 Nov 2013 16:00:59 -0800 (PST) In-Reply-To: References: Date: Fri, 22 Nov 2013 19:00:59 -0500 Message-ID: To: Jakub Zelenka Cc: Nikita Popov , Tjerk Meesters , PHP Internals Content-Type: multipart/alternative; boundary=089e013d1db26bef7404ebccd3da Subject: Re: [PHP-DEV] Power function as operator From: theanomaly.is@gmail.com (Sherif Ramadan) --089e013d1db26bef7404ebccd3da Content-Type: text/plain; charset=ISO-8859-1 On Fri, Nov 22, 2013 at 6:59 PM, Jakub Zelenka wrote: > Hi, > > >> I'm not entirely sure that making it non-associative is a great idea >> either, but I have to agree that it does find *some* middle ground. >> Right-associative exponent operator didn't seem right to me either. >> > > I think there is a good mathematical reason for right associative > exponent. It calls tetration or power tower. Please look at following > sources for more details: > > http://math.stanford.edu/circle/notes08f/bignumbers.pdf > http://en.wikipedia.org/wiki/Tetration > http://mathworld.wolfram.com/PowerTower.html > > Regards > > Jakub > Right, that would be why I'm not *entirely* convinced. --089e013d1db26bef7404ebccd3da--