[Numpy-discussion] [numpy-discussion] inconsistent behavior in binary_repr

Damian Eads eads@soe.ucsc....
Wed Jun 4 03:26:38 CDT 2008


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 intended to be for the 0 case?

No. SVN trunk seems to work correctly. What version of numpy do you have?



More information about the Numpy-discussion mailing list