[lkml]   [2017]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v6 1/3] lib: Add strongly typed 64bit int_sqrt
On Tue, Dec 19, 2017 at 10:31:18AM +0100, Crt Mori wrote:
> IIO kernel does not have the recent version in, so thanks for heads


> up. It does not change much for my function.

The comment says:

* Computes: floor(sqrt(x))

floor(sqrt(2^64-1)) == 2^32-1

 \ /
  Last update: 2017-12-19 14:26    [W:0.051 / U:2.820 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site