Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!jpl-devvax!lwall From: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Newsgroups: comp.lang.perl Subject: Re: Query about unsigned Message-ID: <9672@jpl-devvax.JPL.NASA.GOV> Date: 26 Sep 90 00:14:50 GMT References: <1990Sep25.210736.11242@kfw.COM> Reply-To: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 20 In article <1990Sep25.210736.11242@kfw.COM> dan@kfw.com (Dan Mick) writes: : Checking: Did my query of a few days ago about handling unsigned numbers mak : it out? We'd just upgraded cnews, and I may have lost any replies, or it : may not have made it to the world at all...(it *is* posted locally)... Yes, it did, but everyone's waiting for me to say something, and I've been a bit out of it lately. I would say that you are describing a bug. I think 0xf0000000, and hex() and oct() should always produce positive numbers. It will work that way after the next update. For the moment, try saying 0xf0000000 | 0; If you use that on your literals, it'll even happen at compile time rather than run time. Larry