summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/int_sqrt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/int_sqrt.c b/lib/int_sqrt.c
index 67bb300b5b46..e2d329099bf7 100644
--- a/lib/int_sqrt.c
+++ b/lib/int_sqrt.c
@@ -11,10 +11,10 @@
#include <linux/bitops.h>
/**
- * int_sqrt - rough approximation to sqrt
+ * int_sqrt - computes the integer square root
* @x: integer of which to calculate the sqrt
*
- * A very rough approximation to the sqrt() function.
+ * Computes: floor(sqrt(x))
*/
unsigned long int_sqrt(unsigned long x)
{