[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem on bin2dec
From: |
John W. Eaton |
Subject: |
Re: problem on bin2dec |
Date: |
Mon, 14 Aug 2006 14:41:06 -0400 |
On 8-Aug-2006, Søren Hauberg wrote:
| The attached patch against 2.9.7 should solve the problem and make
| Octave matlab compatible.
It's unfortunate that in Matlab
bin2dec ('1 1 1')
is not the same as
base2dec ('1 1 1', 2)
Is this a bug in Matlab?
In any case, I've applied the patch for compatibility.
Would anyone like to place bets on how long it will be before we see a
bug report stating that
bin2dec ('1 1 1') != base2dec ('1 1 1', 2)
?
Thanks,
jwe