Article View: es.comp.os.linux.programacion
Article #10619Re: Inversion de bits
From: Rick Dekkard
Date: Sun, 17 Feb 2002 14:15
Date: Sun, 17 Feb 2002 14:15
23 lines
2097 bytes
2097 bytes
Si, sobre todo la que dice "You have mail from administrator" XD Reinoso G. wrote: > Je je je... Mirad lo que me ha salido hoy al iniciar la sesiοΏ½n: > > You have old mail in /var/spool/mail/reinoso. > Last login: Fri Feb 15 21:13:03 from console > Have a lot of fun... > > n = ((n >> 1) & 0x55555555) | ((n << 1) & 0xaaaaaaaa); > n = ((n >> 2) & 0x33333333) | ((n << 2) & 0xcccccccc); > n = ((n >> 4) & 0x0f0f0f0f) | ((n << 4) & 0xf0f0f0f0); > n = ((n >> 8) & 0x00ff00ff) | ((n << 8) & 0xff00ff00); > n = ((n >> 16) & 0x0000ffff) | ((n << 16) & 0xffff0000); > > -- C code which reverses the bits in a word. > > Estas fortunes tienen su gracia. :-DDD > > Saludos. > >
Technical Details
Message-ID:
<3C6FBAED.1060601@nervhq.org>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!btnet-peer1!btnet-peer0!btnet-peer!btnet!newsfeed.bt.es!news.bt.es!not-for-mailReferences:
<3C61171A.5F9E4911@eq.upc.es> <3c61c2a4$1_4@news.arrakis.es> <3c61d85d_4@news.arrakis.es> <a3u1uu$912$1@news.unizar.es> <3C61D67C.36C39080@hobbiton.org> <slrna6r20h.7s.reinoso@EA4BAO.PLLANO.ESP.EU>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f86c8,bd33173853cfd14f X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2002-02-17 05:20:51 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!btnet-peer1!btnet-peer0!btnet-peer!btnet!newsfeed.bt.es!news.bt.es!not-for-mail From: Rick Dekkard <dekkard@nervhq.org> Newsgroups: es.comp.os.linux.programacion Subject: Re: Inversion de bits Date: Sun, 17 Feb 2002 14:15:09 +0000 Organization: Supercable Andalucia, S.A. Lines: 24 Message-ID: <3C6FBAED.1060601@nervhq.org> References: <3C61171A.5F9E4911@eq.upc.es> <3c61c2a4$1_4@news.arrakis.es> <3c61d85d_4@news.arrakis.es> <a3u1uu$912$1@news.unizar.es> <3C61D67C.36C39080@hobbiton.org> <slrna6r20h.7s.reinoso@EA4BAO.PLLANO.ESP.EU> NNTP-Posting-Host: 212.79.128.146 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: titan.bt.es 1013950643 12396 212.79.128.146 (17 Feb 2002 12:57:23 GMT) X-Complaints-To: abuse@bt.es NNTP-Posting-Date: 17 Feb 2002 12:57:23 GMT User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.6) Gecko/20011120 X-Accept-Language: en-us, ja Cache-Post-Path: seux119!unknown@cliente-217216004011.cm128.alnpa.supercable.es X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/)