Long Shifty Bits

Phlip phlip_cpp at my-deja.com
Tue Mar 6 14:17:21 EST 2001


Michael Hudson wrote:

> Works for me.  Have you tried it?

>>> x = 1L << 200
>>> x
1606938044258990275541962092341162602522202993782792835301376L

Ouch. Just trying it did not occur to me. The expression's deep inside a 
blob of logic, and I just assumed when I hit a bug up around 32 elements 
that I had misrepresented <<'s prowess.

-- 
  Phlip                          phlip_cpp at my-deja.com
============== http://phlip.webjump.com ==============
  --  My opinions are those of your employer  --



More information about the Python-list mailing list