From: awdorrin <awdorrin@gmail.com>
Subject: Re: Interfaces.Shift_Left
Date: Wed, 14 Dec 2011 10:28:24 -0800 (PST)
Date: 2011-12-14T10:28:24-08:00 [thread overview]
Message-ID: <a76daa61-49f7-4235-af65-11973a012f35@v29g2000yqv.googlegroups.com> (raw)
In-Reply-To: jc8h83$86p$1@munin.nbi.dk
I understand what you are saying and I do agree in theory.
The situation is that bit shifting is being used to retrieve data of
various bit lengths and positions from compound records.
For instance, retrieving a 6-bit signed value from a 32-bit field.
For the purposes of obtaining those 6 bits - sign is irrelevant, but
that 6 bit value is then sent back to a calling process as an 'Int32'
so I need the sign then.
Given more time and funding, I would replace this logic with something
that makes more sense, but a quick Unchecked_Conversion saves
rewriting 15,000+ lines of code. :)
next prev parent reply other threads:[~2011-12-14 18:29 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-12 22:30 Interfaces.Shift_Left awdorrin
2011-12-12 23:34 ` Interfaces.Shift_Left Simon Wright
2011-12-13 1:36 ` Interfaces.Shift_Left Adam Beneschan
2011-12-13 12:00 ` Interfaces.Shift_Left Brian Drummond
2011-12-13 13:15 ` Interfaces.Shift_Left awdorrin
2011-12-13 21:48 ` Interfaces.Shift_Left Randy Brukardt
2011-12-14 18:28 ` awdorrin [this message]
2011-12-14 22:49 ` Interfaces.Shift_Left Randy Brukardt
2011-12-15 9:51 ` Interfaces.Shift_Left Niklas Holsti
2011-12-16 0:23 ` Interfaces.Shift_Left Randy Brukardt
2011-12-18 20:47 ` Interfaces.Shift_Left Niklas Holsti
2011-12-20 0:38 ` Interfaces.Shift_Left Randy Brukardt
2011-12-20 2:18 ` Interfaces.Shift_Left Shark8
2011-12-20 10:08 ` Interfaces.Shift_Left Dmitry A. Kazakov
2011-12-20 19:38 ` Interfaces.Shift_Left Niklas Holsti
2011-12-20 20:46 ` Interfaces.Shift_Left Niklas Holsti
2011-12-20 21:13 ` Interfaces.Shift_Left Simon Wright
2011-12-20 21:08 ` Interfaces.Shift_Left Simon Wright
2011-12-20 23:26 ` Interfaces.Shift_Left Randy Brukardt
2011-12-20 23:36 ` Interfaces.Shift_Left Randy Brukardt
2011-12-21 0:44 ` Interfaces.Shift_Left Georg Bauhaus
2011-12-21 7:23 ` Interfaces.Shift_Left AdaMagica
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox