Re: rfc: pow-operator

From: Date: Mon, 25 Nov 2013 10:31:41 +0000
Subject: Re: rfc: pow-operator
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-70375@lists.php.net to get a copy of this message
On 25 November 2013 11:26, Michael Wallner <mike@php.net> wrote: > On 24 November 2013 04:22, Sanford Whiteman > <swhitemanlistens-software@cypressintegrated.com> wrote: > >>> Lanaguages that don't have an exponent operator >>> ------------------------------------------------ >> >>> C >>> C++ >>> C# >>> Java >>> Javascript >>> ActionScript >> >> + SQL > > You can repeat that as often as you like, but it does not become more > true because of that. Maybe the SQL dialect or database engine you are > using does not support an exponent operator, that does not mean there > ain't any: > > mike=# select substring(version(), 0, 18) v, 2 ^ 3 ^ 2 e; > -[ RECORD 1 ]-------- > v | PostgreSQL 9.2.4 > e | 64 If you mean the SQL standard, do you have a reference (link)? Thanks, Mike -- Regards, Mike

« previous php.internals (#70375) next »