Xref: utzoo comp.arch:10040 sci.math:6878 rec.puzzles:3591 Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!sun-barr!cs.utexas.edu!uunet!mcvax!hp4nl!philapd!ssp1!roelof From: roelof@idca.tds.PHILIPS.nl (R. Vuurboom) Newsgroups: comp.arch,sci.math,rec.puzzles Subject: Re: Divide by three? Message-ID: <129@ssp1.idca.tds.philips.nl> Date: 2 Jun 89 07:30:27 GMT References: Organization: Philips Telecommunication and Data Systems, The Netherlands Lines: 11 In article shs@uts.amdahl.com (Steve Schoettler) writes: > >Here's a puzzle: > What's the fastest way to divide an 11 bit number by three, > on a processor that doesn't have any multiply or divide instructions? > I guess I'm cheating but how about using tri-state logic and shifting right one tit? ;-). (Isn't tit the _accepted_ abbreviation for ternary digit?) -- Roelof Vuurboom SSP/V3 Philips TDS Apeldoorn, The Netherlands +31 55 432226 domain: roelof@idca.tds.philips.nl uucp: ...!mcvax!philapd!roelof