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/01/06 04:14]
datibbaw
rfc:pow-operator [2017/09/22 13:28] (current)
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: Voting+  * 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:
Line 189: Line 189:
  
 Voting ends on 5th of January 2014. Voting ends on 5th of January 2014.
 +
  
  
Line 195: Line 196:
 Power operator PR: https://github.com/php/php-src/pull/543 Power operator PR: https://github.com/php/php-src/pull/543
  
 +PHP 5.6 Commits: [[http://git.php.net/?p=php-src.git;a=commit;h=aff56f3c4539869910cf2778cf0ece2d8c2dd671|1]] [[http://git.php.net/?p=php-src.git;a=commit;h=363ff60475d93716722034b8f7a2486229bf4cfb|2]]
rfc/pow-operator.1388981648.txt.gz · Last modified: 2017/09/22 13:28 (external edit)