Xref: utzoo comp.lang.c:5508 comp.lang.c++:579
Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!ames!ucbcad!ucbvax!hplabs!nsc!taux01!amos
From: amos@taux01.UUCP (Amos Shapir)
Newsgroups: comp.lang.c,comp.lang.c++
Subject: Re: Binary integer literals
Message-ID: <415@taux01.UUCP>
Date: 9 Dec 87 14:32:32 GMT
References: <2752@super.upenn.edu>
Reply-To: amos%taux01@nsc.com (Amos Shapir)
Organization: National Semiconductor (Israel) Ltd. Home of the 32532
Lines: 14
Summary: That's a matter of habit
Hdate: 18 Kislev 5748


In article <2752@super.upenn.edu> george@hyper.lap.upenn.edu (George Zipperlen) writes:
>Wanted: a way to declare binary constants!

Personally, I like hex/octal better; once you get used to it and have
the bit patterns in your head, it' much easier to use, e.g., in:
>    0x8200,     /*  1000001000000000,  */
quick, is bit 10 set or reset?
Now, try it again with 32-bit values...

-- 
	Amos Shapir			(My other cpu is a NS32532)
National Semiconductor (Israel)
6 Maskit st. P.O.B. 3007, Herzlia 46104, Israel  Tel. +972 52 522261
amos%taux01@nsc.com (used to be amos%nsta@nsc.com) 34 48 E / 32 10 N