On Sun, Nov 1, 2009 at 8:49 PM, Charles R Harris
wrote:
>
> On Sun, Nov 1, 2009 at 8:37 PM, Thomas Robitaille <
> thomas.robitai...@gmail.com> wrote:
>
>> Hello,
>>
>> I have a question concerning uint64 numbers - let's say I want to
>> format a uint64 number that is > 2**31, at the moment it's ne
On Sun, Nov 1, 2009 at 8:37 PM, Thomas Robitaille <
thomas.robitai...@gmail.com> wrote:
> Hello,
>
> I have a question concerning uint64 numbers - let's say I want to
> format a uint64 number that is > 2**31, at the moment it's necessary
> to wrap the numpy number inside long before formatting
>
>
Hello,
I have a question concerning uint64 numbers - let's say I want to
format a uint64 number that is > 2**31, at the moment it's necessary
to wrap the numpy number inside long before formatting
In [3]: "%40i" % np.uint64(2**64-1)
Out[3]: ' -1'
In [4]: