Re: [RFC] intdiv()

From: Date: Tue, 15 Jul 2014 00:58:10 +0000
Subject: Re: [RFC] intdiv()
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-75521@lists.php.net to get a copy of this message
Hi!

> It elaborates a little more, so I’d suggest reading it first. What
> are your thoughts? I think this is a simple and obvious addition.

INT_MAX is kind of an edge case, if you need arbitrary-length precision
you can always use gmp or bcmath. I'm not sure this one-off use case
that is already covered by two extensions really needs another function.
Practically, where would you need exact division up to 53 bits but not
beyond?
-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/


Thread (49 messages)

« previous php.internals (#75521) next »