On 10/10/14 22:33, Andrea Faulds wrote: > Since I don’t want this to languish as a ‘Draft’ forever, despite the patch > being incomplete, I am finally putting the Big Integer Support RFC “Under > Discussion”. > > The RFC can be found here: https://wiki.php.net/rfc/bigint > > The patch is, as I mentioned, incomplete. Additionally, there are quite a few > matters left to be decided (see Open Questions). However, I think I should > put this formally under discussion now.
Is this the right approach to implement BIGINT? I don't see the use of GMP to implement something as simple as native 64 bit numbers on 64 bit platforms as the right base. All we are missing is correctly handling two word data on a 32bit platform. The wrapping and everything still applies, but only on a 32 bit platform ... no need for the complication of GMP. The bit I'm looking at here IS using BIGINT as array keys without the problems of them changing to long strings and I don't see how GMP fixes that? -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php