Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!sdd.hp.com!zaphod.mps.ohio-state.edu!maverick.ksu.ksu.edu!rutgers!mcnc!uvaarpa!mmdf From: aks@hub.ucsb.edu (Alan Stebbens) Newsgroups: comp.lang.perl Subject: How to handle 32-bit unsigned integers in Perl? Message-ID: <1990Aug7.230607.24194@uvaarpa.Virginia.EDU> Date: 7 Aug 90 23:06:07 GMT Sender: mmdf@uvaarpa.Virginia.EDU (Uvaarpa Mail System) Reply-To: aks@hub.ucsb.edu Organization: The Internet Lines: 10 It appears that the ">>" operator does arithmetic shifts. How can I do an unsigned shift? Do I have to test the sign bit first, then clear it, before shifting, or is there another way? Signed, frustrated :^) Alan Stebbens (805) 893-3221 Center for Computational Sciences and Engineering (CCSE) University of California, Santa Barbara (UCSB) 3111 Engineering I, Santa Barbara, CA 93106