comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: Fwd: How do you bitwise operations in Ada '83 and '95
Date: Thu, 20 Jul 2006 12:54:12 -0500
Date: 2006-07-20T12:54:12-05:00	[thread overview]
Message-ID: <Yfmdnf19WIzZXiLZnZ2dnUVZ_sCdnZ2d@comcast.com> (raw)
In-Reply-To: mailman.37.1153388851.30988.comp.lang.ada@ada-france.org

>To me bit shifting is a positional thing. Surely positions differ
   And why is it again that you want to DIY instead of using a record
specification and thus leaving it to the compiler to generate fast,
correct, code to handle the shifting and masking?  (Since the Subject line
mentions "bitwise" operations, you presumably are multiplying and dividing
by powers of two on a binary machine, right?)



  reply	other threads:[~2006-07-20 17:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <8B57A49E-38E9-44DC-9B4A-A3F69E058A97@amado-alves.info>
2006-07-20  9:39 ` Fwd: How do you bitwise operations in Ada '83 and '95 Marius Amado-Alves
2006-07-20 17:54   ` tmoran [this message]
2006-07-20 18:30     ` Marius Amado-Alves
2006-07-20 19:36       ` tmoran
2006-07-20 22:09         ` Simon Wright
2006-07-21 10:07           ` Stephen Leake
2006-07-21 19:09             ` Simon Wright
2006-07-21 19:45               ` tmoran
2006-07-23 15:59               ` Stephen Leake
2006-07-24  6:08                 ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox