Re: [PATCH 0/3] lib/int_sqrt: Fix, optimize and document

2017-07-24 Thread Joe Perches
On Mon, 2017-07-24 at 17:16 +0200, Peter Zijlstra wrote: > Here are a few patches that should improve things lib/int_sqrt. Thanks Peter.

Re: [PATCH 0/3] lib/int_sqrt: Fix, optimize and document

2017-07-24 Thread Joe Perches
On Mon, 2017-07-24 at 17:16 +0200, Peter Zijlstra wrote: > Here are a few patches that should improve things lib/int_sqrt. Thanks Peter.

[PATCH 0/3] lib/int_sqrt: Fix, optimize and document

2017-07-24 Thread Peter Zijlstra
Hi, Here are a few patches that should improve things lib/int_sqrt. As stated elsewhere; I'm looking at using int_sqrt() to calculate the stdev on a normal distribution and am expecting the input values to be smallish. In any case, these optimizations should work fine for large numbers too. And

[PATCH 0/3] lib/int_sqrt: Fix, optimize and document

2017-07-24 Thread Peter Zijlstra
Hi, Here are a few patches that should improve things lib/int_sqrt. As stated elsewhere; I'm looking at using int_sqrt() to calculate the stdev on a normal distribution and am expecting the input values to be smallish. In any case, these optimizations should work fine for large numbers too. And