git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] rev-list: estimate number of bisection step left

From
Thomas Rast <trast@student.ethz.ch>
Date
Feb 17, 2009, 15:39 UTC
Message-ID
<200902171639.35926.trast@student.ethz.ch>
In-Reply-To
<alpine.DEB.1.00.0902171630130.6185@intel-tinevez-2-302>
Johannes Schindelin wrote:
> > unsigned int log2_integer_approximate(unsigned int n){
[...]
> That assumes that your floats are IEEE floats, right?

For extra weird code, you could the standard 5-line bit order inverter and apply ffs().

;-)
-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Previous: Johannes Schindelin
Message 13 of 13 in “rev-list: estimate number of bisection step left”
  1. rev-list: estimate number of bisection step leftChristian Couder, Feb 17, 2009
  2. Junio C HamanoFeb 17, 2009
  3. Christian CouderFeb 19, 2009
  4. Christian CouderFeb 19, 2009
  5. Christian CouderFeb 19, 2009
  6. John TapsellFeb 19, 2009
  7. Christian CouderFeb 19, 2009
  8. Johannes SchindelinFeb 17, 2009
  9. John TapsellFeb 17, 2009
  10. Johannes SchindelinFeb 17, 2009
  11. John TapsellFeb 17, 2009
  12. Johannes SchindelinFeb 17, 2009
  13. Thomas RastFeb 17, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.