Whoops. In one xterm, I'm going off the Fedora package and in the other,
the SVN source tree. SVN seems to work. Sorry for the unnecessary message.
On Wed, Jun 4, 2008 at 2:59 AM, Robert Kern wrote:
> In [27]: numpy.binary_repr(0, width=8)
> Out[27]: '0'
>
> Is this what the output is intende
On Wed, Jun 4, 2008 at 2:56 AM, Damian Eads <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I noticed some odd behavior in binary_repr when the width parameter is
> used. In most cases it works,
>
> In [23]: numpy.binary_repr(1, width=8)
> Out[23]: '0001'
>
> In [24]: numpy.binary_repr(2, width=8)
> Out[2
Hi,
I noticed some odd behavior in binary_repr when the width parameter is
used. In most cases it works,
In [23]: numpy.binary_repr(1, width=8)
Out[23]: '0001'
In [24]: numpy.binary_repr(2, width=8)
Out[24]: '0010'
In [25]: numpy.binary_repr(3, width=8)
Out[25]: '0011'
In [26]: nu