rfc:pow-operator

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
rfc:pow-operator [2014/02/07 06:42]
datibbaw
rfc:pow-operator [2014/08/11 18:24]
nikic
Line 4: Line 4:
   * Date: 2013-11-23   * Date: 2013-11-23
   * Author: Tjerk Meesters, datibbaw@php.net   * Author: Tjerk Meesters, datibbaw@php.net
-  * Status: Accepted+  * Status: Implemented in PHP 5.6
   * First Published at: http://wiki.php.net/rfc/pow-operator   * First Published at: http://wiki.php.net/rfc/pow-operator
   * Revision (0.1 → 0.2): 2013-12-19   * Revision (0.1 → 0.2): 2013-12-19
Line 79: Line 79:
 ===== Discussion ===== ===== Discussion =====
  
-> Should ''-<nowiki>**</nowiki> 3'' evaluate to ''9'' instead of ''-9''?+> Should ''-<nowiki>**</nowiki> 2'' evaluate to ''9'' instead of ''-9''?
  
 According to the following resources, the scale tips more towards having the exponent precede the unary minus: According to the following resources, the scale tips more towards having the exponent precede the unary minus:
rfc/pow-operator.txt · Last modified: 2017/09/22 13:28 (external edit)