#R:hp-dcde:20000001:ecn-ee:13100001:000:214 ecn-ee!malcolm Oct 16 02:54:00 1983 Not to be outdone on this trivial programming assignment.... I use the following one-liner to find the base two logarithm at run-time. for (logN=0;(1<<logN)<N;logN++); Malcolm Slaney Purdue EE Dept.