Re: [PHP-DEV] Re: base_convert() broken

2001-09-04 Thread Sebastian Bergmann

Sebastian Bergmann wrote:
 Stanislav Malyshev wrote:
  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.
 
   I'll try, as soon as I can build HEAD again.

  Works fine now, thanks! Could you merge this into 4_0_7, please?

-- 
  Sebastian Bergmann Measure Traffic  Usability
  http://sebastian-bergmann.de/http://phpOpenTracker.de/

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Re: base_convert() broken

2001-09-04 Thread Stanislav Malyshev

SB   Works fine now, thanks! Could you merge this into 4_0_7,
SB please?

OK.

-- 
Stanislav Malyshev, Zend Products Engineer
[EMAIL PROTECTED]  http://www.zend.com/ +972-3-6139665 ext.115



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Re: base_convert() broken

2001-09-03 Thread Stanislav Malyshev

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
[EMAIL PROTECTED]  http://www.zend.com/ +972-3-6139665 ext.115



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Re: base_convert() broken

2001-09-03 Thread Sebastian Bergmann

Stanislav Malyshev wrote:
 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.

  I'll try, as soon as I can build HEAD again.

-- 
  Sebastian Bergmann Measure Traffic  Usability
  http://sebastian-bergmann.de/http://phpOpenTracker.de/

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Re: base_convert() broken

2001-09-02 Thread Stanislav Malyshev

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?

No, not yet - had no time. This requires some changes over the code, since
now it's hardcoded to return long and should return zval instead. I'll try
to find some time this week.

-- 
Stanislav Malyshev, Zend Products Engineer
[EMAIL PROTECTED]  http://www.zend.com/ +972-3-6139665 ext.115




-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Re: base_convert() broken

2001-09-02 Thread Sebastian Bergmann

Stanislav Malyshev wrote:
 I'll try to find some time this week.

  Great, thanks.

-- 
  Sebastian Bergmann Measure Traffic  Usability
  http://sebastian-bergmann.de/http://phpOpenTracker.de/

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]