Re: Re: base_convert() broken

From: Date: Mon, 03 Sep 2001 13:14:24 +0000
Subject: Re: Re: base_convert() broken
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-64955@lists.php.net to get a copy of this message
SB>> > No, it's related to me. I added this warning, by request of ... SB>> > hmm, sorry, not remember exactly, I can look up if you want. It's SB>> > a right thing to do - the number is indeed too long to fit long, SB>> > so converting it to long will not give you the right results. SB>> > Actually, the Even More Right Thing To Do (TM) would be for this SB>> > function to switch to floats once you go over long limit, but I SB>> > had not time to do it then. SB>> SB>> Any update on this? See current CVS, I've added a patch that should fix it. Note: the functions like decbin still don't use the zval-ed functions, so they work only on longs as of now. -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115

« previous php.dev (#64955) next »