Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

builtin log2?

7 views
Skip to first unread message

Henry Bigelow

unread,
Aug 31, 2006, 4:38:41 PM8/31/06
to
hi,
just wondering, is there a builtin log2 function? i need to do
computation in log space to avoid underflow, but thought it would be
more efficient to do it in log base 2. or, is there some simple way to
get the log base 2 using bitshifting? thanks in advance,

henry

0 new messages