Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!mailrus!ncar!boulder!spot!wu From: wu@spot.Colorado.EDU (WU SHI-KUEI) Newsgroups: comp.lang.c Subject: Re: algorithm to convert N into base 3 wanted! Message-ID: <2945@boulder.Colorado.EDU> Date: 24 Aug 88 01:43:33 GMT References: <650003@hpcilzb.HP.COM> Sender: news@boulder.Colorado.EDU Reply-To: wu@spot.Colorado.EDU (WU SHI-KUEI) Organization: University of Colorado, Boulder Lines: 10 In article <650003@hpcilzb.HP.COM> tedj@hpcilzb.HP.COM (Ted Johnson) writes: >Does anyone know of an algorithm to convert a positive integer N into >its base 3 representation? (e.g., 14 in base 10 is 112 in base 3). 'bc' with obase = 3 does a dandy job. A guest here. In real life Carl Brandauer nbires!bdaemon!carl