Bug #13756: exponential ** operator

From: Date: Fri, 19 Oct 2001 14:36:03 +0000
Subject: Bug #13756: exponential ** operator
Groups: php.dev 
Request: Send a blank email to php-dev+get-68403@lists.php.net to get a copy of this message
From:             sander@php.net
Operating system: n/a
PHP version:      4.0.6
PHP Bug Type:     Feature/Change Request
Bug description:  exponential ** operator

It would be nice to have an exponential operator. ** would be a logical
choice, just like in C.

Example:
echo 2**3; // prints 8

I know we have pow(), but an operator for this would be nice...
-- 
Edit bug report at: http://bugs.php.net/?id=13756&edit=1



Thread (3 messages)

« previous php.dev (#68403) next »