Two Birds with One Stone

VLD/VMB gwyn at BRL.ARPA
Thu Dec 5 14:43:51 AEST 1985


Most C applications have no need to use bitwise operators.
&& || and ! are well-defined for any arithmetic quantity,
regardless of the base.  Bit operations are certainly
useful at times, such as when twiddling device registers
or when writing bitmap display code, but I feel they are
often used when they're not appropriate.

If anyone is seriously interested in ternary bases, check
out Vol. 2 of Knuth.



More information about the Comp.lang.c mailing list