Re: [RFC] [Discussion] Fix up BCMath Number Class / Change GMP bool cast behavior

From: Date: Tue, 02 Jul 2024 12:18:02 +0000
Subject: Re: [RFC] [Discussion] Fix up BCMath Number Class / Change GMP bool cast behavior
References: 1 2  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message

> Added changes to RFC. It is a proposal to remove all rounding during calculations due to
> convenience issues and the fact that the functionality is "excessive" to begin with.
> 
> To be precise, it will have the same truncation behavior as the existing BCMath function,
> making it impossible for users to change this behavior during calculations. If the user wants to
> perform rounding, they must always use the round() method.
> 
> Regards,
> 
> Saki

I also mentioned making the class serializable.

Regards,

Saki


Thread (11 messages)

« previous php.internals (#124177) next »