Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!cmcl2!seismo!brl-tgr!tgr!gwyn@BRL.ARPA From: gwyn@BRL.ARPA (VLD/VMB) Newsgroups: net.lang.c Subject: Re: Two Birds with One Stone Message-ID: <312@brl-tgr.ARPA> Date: Wed, 4-Dec-85 23:43:51 EST Article-I.D.: brl-tgr.312 Posted: Wed Dec 4 23:43:51 1985 Date-Received: Fri, 6-Dec-85 08:15:35 EST Sender: news@brl-tgr.ARPA Lines: 9 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.