rfc:new_rounding_modes_to_round_function
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rfc:new_rounding_modes_to_round_function [2023/11/14 23:23] – jorg_sowa | rfc:new_rounding_modes_to_round_function [2023/12/21 15:21] (current) – Changed status to implemented jorg_sowa | ||
---|---|---|---|
Line 3: | Line 3: | ||
* Target version: PHP 8.4 | * Target version: PHP 8.4 | ||
* Author: Jorg Sowa < | * Author: Jorg Sowa < | ||
- | * Status: | + | * Status: |
* Implementation: | * Implementation: | ||
* First Published at: http:// | * First Published at: http:// | ||
Line 31: | Line 31: | ||
Creating two aliases of constants from Intl extension to have consistent naming for rounding modes: | Creating two aliases of constants from Intl extension to have consistent naming for rounding modes: | ||
- | * ROUND_TOWARD_ZERO (equivalent of PHP_ROUND_TOWARD_ZERO) alias of [[https:// | + | * ROUND_TOWARD_ZERO (equivalent of PHP_ROUND_TOWARD_ZERO) alias of [[https:// |
- | * ROUND_AWAY_FROM_ZERO (equivalent of PHP_ROUND_AWAY_FROM_ZERO) alias of [[https:// | + | * ROUND_AWAY_FROM_ZERO (equivalent of PHP_ROUND_AWAY_FROM_ZERO) alias of [[https:// |
===== Backward Incompatible Changes ===== | ===== Backward Incompatible Changes ===== | ||
Line 57: | Line 57: | ||
==== Why not the enum implementation for the rounding modes? ==== | ==== Why not the enum implementation for the rounding modes? ==== | ||
- | As this is extension of the existing modes we should add complementary modes to the existing constants | + | As this is extension of the existing modes we should add complementary modes to the existing constants |
===== Proposed Voting Choices ===== | ===== Proposed Voting Choices ===== | ||
Line 63: | Line 63: | ||
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 on 2023-11-x and will end on 2023-11-x. | + | Voting started on 2023-11-15 and will end on 2023-11-30 00:00 GMT. |
- | Voting on implementing | + | <doodle title=" |
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
- | Voting on creating | + | ---- |
+ | |||
+ | If the first voting is not accepted the result of the second voting will be ignored. | ||
+ | |||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
===== Implementation ===== | ===== Implementation ===== |
rfc/new_rounding_modes_to_round_function.1700004220.txt.gz · Last modified: 2023/11/14 23:23 by jorg_sowa