Re: [VOTE] [RFC]

From: Date: Mon, 20 Nov 2023 20:18:06 +0000
Subject: Re: [VOTE] [RFC]
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-121733@lists.php.net to get a copy of this message
> On Nov 15, 2023, at 11:25, Jorg Sowa <jorg.sowa@gmail.com> wrote: > > Hello internals! > I have just opened voting on the RFC to add 4 new rounding modes to round() > function. > > Voting will end November 30th, 00:00 GMT. > > Link: > https://wiki.php.net/rfc/new_rounding_modes_to_round_function > > Kind regards, > Jorg Under Proposal, you have the following two statements: > • ROUND_TOWARD_ZERO (equivalent of PHP_ROUND_TOWARD_ZERO) alias of ROUND_UP > • ROUND_AWAY_FROM_ZERO (equivalent of PHP_ROUND_AWAY_FROM_ZERO) alias of ROUND_DOWN However, the documentation for ROUND_UP says, “Rounding mode to round away from zero,” and the documentation for ROUND_DOWN says, “Rounding mode to round towards zero.” So, I think the proposal has the aliases listed backwards. Please clarify if the proposal is correct or this is a typo. Cheers, Ben

« previous php.internals (#121733) next »