Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!godot!harvard!seismo!brl-tgr!tgr!cottrell@NBS-VMS From: cottrell@NBS-VMS Newsgroups: net.lang.c Subject: subject Message-ID: <9042@brl-tgr.ARPA> Date: Thu, 7-Mar-85 14:10:44 EST Article-I.D.: brl-tgr.9042 Posted: Thu Mar 7 14:10:44 1985 Date-Received: Sat, 9-Mar-85 07:27:39 EST Sender: news@brl-tgr.ARPA Lines: 22 /* > #define MSB (~(-1>>1)) > > Well know we know /* */'s name is Jim, anybody know what machine he is > on. If only he would learn how to program and/or sign his path. 1) I didn't post the question, just the answer 2) Your solution doesn't work 3) You are a twit. Even `~(((unsigned)(~0))>>1)' (the portable solution) doesn't work on V6. Evidently the compiler gets confused about unsigned constants. Replacing the cast with `x=' (where x has been declared unsigned) does work tho. I thought the mailer would include the return address, so I never gave it. However, this is not the first time I have seen a request for my rtn adr from a uucp site. I now give it as a matter of course. We have VAXen running VMS (yuk), 4.2BSD, a SUN, VME/10 (68K) SYS V port. There are lots of other machines at The National Bureau of Standards. jim cottrell@nbs */