X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=mood.c;fp=mood.c;h=bf6b3c9c9992afd04b791af9c281eaf417fc376f;hp=c24b3d8b9da25c011e237b40e4508b0b61894598;hb=b1c682279994fd35a590a925a0f51647771d2002;hpb=e79198e9851faddfd64e47654b5bc66fbc574255 diff --git a/mood.c b/mood.c index c24b3d8b..bf6b3c9c 100644 --- a/mood.c +++ b/mood.c @@ -121,10 +121,9 @@ __a_const static uint32_t fls64(uint64_t v) } /* - * Rough approximation to sqrt. + * Compute the integer square root floor(sqrt(x)). * - * It returns an integer res with res * res <= x. Taken 2007 from the linux - * source tree. + * Taken 2007 from the linux source tree. */ __a_const static uint64_t int_sqrt(uint64_t x) {