Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70305 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2579 invoked from network); 22 Nov 2013 23:59:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Nov 2013 23:59:45 -0000 Authentication-Results: pb1.pair.com header.from=jakub.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=jakub.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.128.46 as permitted sender) X-PHP-List-Original-Sender: jakub.php@gmail.com X-Host-Fingerprint: 209.85.128.46 mail-qe0-f46.google.com Received: from [209.85.128.46] ([209.85.128.46:62097] helo=mail-qe0-f46.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 11/60-00832-BEFEF825 for ; Fri, 22 Nov 2013 18:59:44 -0500 Received: by mail-qe0-f46.google.com with SMTP id a11so1509952qen.19 for ; Fri, 22 Nov 2013 15:59:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=btAQCGng5xF5yEAvwtGx4tq+XB9eH8C6yMDa6YLINMs=; b=zcSds0zg7ZKQqxmonsmw+ifTH8MPaJGjrDCseSR+2t9+BnsbGAJPBzWBZl0UXE7HLy K5LIkJrFmAFnzsYBjh+xZWAk2Ey4bvmdnQxkd9b3V3Hu14iwbFbLZ81kMUOPXmx6+WGH 6gGlRHrpnKBpIJ+PvMq/TVJqyXA3GZBMA9Qx+tREzbuh4gvM10+gfX18Nyr5S4We7CQz ORGnF2zBvTeJt1XlLpaZ/0sgMccWvPC2t75e+T5yShgioNaHUh2btE5v5rkSaLmGMskO 9L2fWlJmDeHB/2Lx7IZ7nlejNUKMMVtqL4V0uN8jigtkIWgxp0I77jkC2fHZ1sqQnQLn Ft5A== MIME-Version: 1.0 X-Received: by 10.49.101.8 with SMTP id fc8mr26563591qeb.31.1385164776704; Fri, 22 Nov 2013 15:59:36 -0800 (PST) Sender: jakub.php@gmail.com Received: by 10.224.37.133 with HTTP; Fri, 22 Nov 2013 15:59:36 -0800 (PST) In-Reply-To: References: Date: Fri, 22 Nov 2013 23:59:36 +0000 X-Google-Sender-Auth: ReMvc-hiabnp8KenBDgvNBDJl94 Message-ID: To: Sherif Ramadan Cc: Nikita Popov , Tjerk Meesters , PHP Internals Content-Type: multipart/alternative; boundary=001a11c2bd8e78901304ebcccef1 Subject: Re: [PHP-DEV] Power function as operator From: bukka@php.net (Jakub Zelenka) --001a11c2bd8e78901304ebcccef1 Content-Type: text/plain; charset=ISO-8859-1 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 --001a11c2bd8e78901304ebcccef1--