summaryrefslogtreecommitdiffstats
path: root/lib/int_sqrt.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/int_sqrt.c')
-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 67bb300b5b467..e2d329099bf74 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)
{