rfc:raising_zero_to_power_of_negative_number

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
rfc:raising_zero_to_power_of_negative_number [2024/03/17 23:19] jorg_sowarfc:raising_zero_to_power_of_negative_number [2024/04/21 00:06] – Changed status to accepted jorg_sowa
Line 3: Line 3:
   * Date: 2024-01-11   * Date: 2024-01-11
   * Author: Jorg Sowa <jorg.sowa@gmail.com>   * Author: Jorg Sowa <jorg.sowa@gmail.com>
-  * Status: In discussion+  * Status: Accepted
   * First Published at: http://wiki.php.net/rfc/raising_zero_to_power_of_negative_number   * First Published at: http://wiki.php.net/rfc/raising_zero_to_power_of_negative_number
  
Line 58: Line 58:
  
 ===== Backward Incompatible Changes ===== ===== Backward Incompatible Changes =====
-This change will break all code including raising the zero number to a negative power. Such cases may keep their current behavior by using the new <php>fpow</php> function.+This change will break code including raising the zero number to a negative power. Such cases may keep their current behavior by using the new <php>fpow</php> function.
  
 ===== Proposed PHP Version(s) ===== ===== Proposed PHP Version(s) =====
Line 71: Line 71:
 As per the voting RFC, a yes/no vote with a 2/3 majority is needed for this proposal to be accepted. As per the voting RFC, a yes/no vote with a 2/3 majority is needed for this proposal to be accepted.
  
-Voting started 2024-x-and closed 2024-x-x.+Voting started on 2024-04-05 and will end on 2024-04-20 00:00 GMT. 
 + 
 +<doodle title="RFC: Raising zero to the power of negative number" auth="jorg_sowa" voteType="single" closed="false" closeon="2024-04-20T00:00:00Z"> 
 +   * Yes 
 +   * No 
 +</doodle>
  
 ===== Implementation ===== ===== Implementation =====
-https://github.com/jorgsowa/php-src/pull/11 (without fpow yet)+https://github.com/php/php-src/pull/13128 (without fpow yet)
  
 The implementation is based on Ilija Tovilo's PoC: The implementation is based on Ilija Tovilo's PoC:
rfc/raising_zero_to_power_of_negative_number.txt · Last modified: 2024/05/23 15:29 by jorg_sowa