On Wed, 3 Apr 2019 at 13:33, Benjamin Morel <benjamin.mo...@gmail.com> wrote:
> PHP_FLOAT_MIN (float) > > Smallest representable POSITIVE floating point number. If you need the > > smallest representable floating point number, use - PHP_FLOAT_MAX. > > Available as of PHP 7.2.0. > I'd avoid the word "smallest". PHP_FLOAT_MIN could be described as having the "smallest magnitude", and -PHP_FLOAT as being "the largest magnitude, but negative". Perhaps: > Closest representable positive floating point number to zero. If you need the > negative number furthest from zero, use -PHP_FLOAT_MAX. Regards, -- Rowan Collins [IMSoP]