
o Are the names 'binary_int' and 'binary_nibble' good names? Pavel Vozenilek, who has very kindly been my Boost mentor, suggests 'bits' and 'nibble' may be better names.
"nibble" sounds like taking a small bite, and AFAIK, that's precisely why it's called that! But in computing, bite is spelled byte, and similarly, four binary bits make up a nybble (also using a 'y'). At least, AFAIK all my computing magazines from 20 years ago (back when nybbles were less unimportant :-) used this spelling; they were printed in the USA. q.v. http://www.jargon.net/jargonfile/n/nybble.html http://www.geocities.com/oosterwal/puzzle/nybbleq.html but http://en.wikipedia.org/wiki/Nybble forwards to nibble, so I imagine that nibble must be common in some circles. On to your main question: int refers to the acceptable range (short int <= int <= long int), so I think binary_int isn't quite what we're looking for. After trying out a few possibilities, I like the look of nybbles<0011,1010,1100,0100> best. Dave

Dave Gomboc <dave@cs.ualberta.ca> writes:
q.v. http://www.jargon.net/jargonfile/n/nybble.html http://www.geocities.com/oosterwal/puzzle/nybbleq.html
but http://en.wikipedia.org/wiki/Nybble
forwards to nibble, so I imagine that nibble must be common in some circles.
FWIW, I've never seen the spelling with the 'y' before, AFAIK. -- Dave Abrahams Boost Consulting www.boost-consulting.com

"David Abrahams" <dave@boost-consulting.com> wrote in message news:umzmtgton.fsf@boost-consulting.com...
Dave Gomboc <dave@cs.ualberta.ca> writes:
q.v. http://www.jargon.net/jargonfile/n/nybble.html http://www.geocities.com/oosterwal/puzzle/nybbleq.html
but http://en.wikipedia.org/wiki/Nybble
forwards to nibble, so I imagine that nibble must be common in some circles.
FWIW, I've never seen the spelling with the 'y' before, AFAIK.
That's a new one on me as well. The hardware guys I deal with always use the term nibble. In fact our commercial product allows entering data in nibbles via it's GUI. Jeff Flinn

From: "Jeff Flinn" <TriumphSprint2000@hotmail.com>
"David Abrahams" <dave@boost-consulting.com> wrote in message news:umzmtgton.fsf@boost-consulting.com...
Dave Gomboc <dave@cs.ualberta.ca> writes:
q.v. http://www.jargon.net/jargonfile/n/nybble.html http://www.geocities.com/oosterwal/puzzle/nybbleq.html
but http://en.wikipedia.org/wiki/Nybble
forwards to nibble, so I imagine that nibble must be common in some circles.
FWIW, I've never seen the spelling with the 'y' before, AFAIK.
That's a new one on me as well. The hardware guys I deal with always use the term nibble. In fact our commercial product allows entering data in nibbles via it's GUI.
I, too, had not seen the spelling with "y" before so far as I can recall. I can remember thinking it was oddly inconsistent to use a "y" in one case and an "i" in the other. -- Rob Stewart stewart@sig.com Software Engineer http://www.sig.com Susquehanna International Group, LLP using std::disclaimer;
participants (4)
-
Dave Gomboc
-
David Abrahams
-
Jeff Flinn
-
Rob Stewart