home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / programm / 2069 < prev    next >
Encoding:
Text File  |  1992-07-22  |  1.1 KB  |  24 lines

  1. Newsgroups: comp.programming
  2. Path: sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!rpi!think.com!unixland!public!peterk
  3. From: peterk@public.sub.org (Peter Kittel)
  4. Subject: Re: finding 1st one in integer
  5. Organization: Public News & Mailserver, Commodore Germany PM UNIX, Frankfurt
  6. Date: Wed, 22 Jul 92 16:56:04 GMT
  7. Message-ID: <1992Jul22.165604.20533@public.sub.org>
  8. References: <Brqu3F.1J4@undergrad.math.waterloo.edu> <1992Jul21.173805.12045@bcrka451.bnr.ca> <14hsk4INNke@rodan.UU.NET> <1992Jul21.165726@is.morgan.com>
  9. Lines: 13
  10.  
  11. berlin@is.morgan.com (Alexander Berlin) writes:
  12.  
  13. >Vadim, you are assuming Big Endian, aren't you?
  14. >The original article asked for PORTABLE code. ">>=" depends on byte order.
  15.  
  16. Hmm, are you really sure that the result of a >> operation is dependant
  17. of byte order??? That's the task of the compiler to do this the right
  18. way. ">>" works on normal variables, not on memory locations.
  19.  
  20. -- 
  21. Best regards, Dr. Peter Kittel  // E-Mail to  \\  Only my personal opinions... 
  22. Commodore Frankfurt, Germany  \X/ {uunet|pyramid|rutgers}!cbmvax!cbmger!peterk
  23.                                    or  peterk@public.sub.org
  24.