Re: Re: rfc: pow-operator

From: Date: Sun, 24 Nov 2013 21:33:56 +0000
Subject: Re: Re: rfc: pow-operator
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-70361@lists.php.net to get a copy of this message
On Sun, 2013-11-24 at 13:58 -0700, Robert Williams wrote: > > $c = sqrt($c1**2 + $c2**2) > > Instead of this: > > $c = sqrt(pow($c1, 2) + pow($c2, 2)) This can even be improved already: $c = hypot($c1, $c2); No need for engine changes, new opcodes and grammar rules :-) johannes

« previous php.internals (#70361) next »