Re: #50283 [Tbd]: allow base in gmp_strval to use full range: 2 to 62, and -2 to -36

From: Date: Thu, 26 Nov 2009 08:29:19 +0000
Subject: Re: #50283 [Tbd]: allow base in gmp_strval to use full range: 2 to 62, and -2 to -36
References: 1 2 3 4  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969381160@lists.php.net to get a copy of this message
2009/11/25 David Soria Parra <dsoria@gmx.net>: > Please document that gmp_init allows 2 to 62 and gmp_strval 2 to 62 and -2 > to -36. Thank you so much for your efforts! > 2009/11/25 David Soria Parra <dsoria@gmx.net>: > Please wait a day or two, maybe we have to remove it from 5.2 because of dependenciy issues. > > On 25.11.09 12:08, Richard Quadling wrote: >> >> 2009/11/24 asphp at dsgml dot com<php-bugs@lists.php.net>: >>> >>>  ID:               50283 >>>  User updated by:  asphp at dsgml dot com >>>  Reported By:      asphp at dsgml dot com >>>  Status:           To be documented >>>  Bug Type:         Feature/Change Request >>>  Operating System: Linux >>>  PHP Version:      5.2.11 >>>  New Comment: >>> >>> Also, gmp_init needs to be changed. >>> >>> >>> Previous Comments: >>> ------------------------------------------------------------------------ >>> >>> [2009-11-24 20:14:52] asphp at dsgml dot com >>> >>> The docs and checkin comment all say till 62, but the code and the >>> tests actually limit to 36. >>> >>> ------------------------------------------------------------------------ >>> >>> [2009-11-24 15:08:22] rquadling@php.net >>> >>> Documented. >>> Revision: >>> http://svn.php.net/viewvc/?view=revision&revision=291267 >>> >>> ------------------------------------------------------------------------ >>> >>> [2009-11-24 13:35:06] dsp@php.net >>> >>> The documentation states that base has to be between 2 and 36. We have >>> to correct this, as we now allow -2 to -36 aswell. >>> >>> ------------------------------------------------------------------------ >>> >>> [2009-11-24 13:33:36] svn@php.net >>> >>> Automatic comment from SVN on behalf of dsp >>> Revision: >>> http://svn.php.net/viewvc/?view=revision&revision=291262 >>> Log: Implement feature request #50283 (allow base in gmp_strval to use >>> full range: 2 to 62, and -2 to -36) >>> >>> ------------------------------------------------------------------------ >>> >>> [2009-11-24 11:31:47] asphp at dsgml dot com >>> >>> And for input as well of course. >>> >>> ------------------------------------------------------------------------ >>> >>> The remainder of the comments for this report are too long. To view >>> the rest of the comments, please view the bug report online at >>>    http://bugs.php.net/50283 >>> >>> -- >>> Edit this bug report at >>> http://bugs.php.net/?id=50283&edit=1 >>> >>> >>> -- >>> PHP Documentation Bugs Mailing List (http://www.php.net/) >>> To unsubscribe, visit: http://www.php.net/unsub.php >>> >>> >> >> What is the actual state of this? Can gmp_xxx handle the full range? >> Happy to document whatever you say is appropriate. >> > > Ok. -- ----- Richard Quadling "Standing on the shoulders of some very clever giants!" EE : http://www.experts-exchange.com/M_248814.html Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 ZOPA : http://uk.zopa.com/member/RQuadling

« previous php.doc (#969381160) next »