While the algorithm probably predates Linux, the implementation was
copied from the Linux source tree in 2007. The commit which introduced
the function back then (
f6f50d03, "Merge the new afs code.") should
have mentioned this.
De-doxify the function as it is static and hence not part of the html
generated by doxygen.
*/
static struct mood *current_mood;
-/**
+/*
* Rough approximation to sqrt.
*
- * \param x Integer of which to calculate the sqrt.
- *
- * \return An integer res with res * res <= x.
+ * It returns an integer res with res * res <= x. Taken 2007 from the linux
+ * source tree.
*/
__a_const static uint64_t int_sqrt(uint64_t x)
{