From a825b4fa5f159604f9f61bafa21b75a22d8944f5 Mon Sep 17 00:00:00 2001 From: alberth Date: Sat, 31 Jul 2010 21:02:56 +0000 Subject: (svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements. --- src/core/bitmath_func.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/bitmath_func.hpp') diff --git a/src/core/bitmath_func.hpp b/src/core/bitmath_func.hpp index 14e9ed4e4..7a4a5da85 100644 --- a/src/core/bitmath_func.hpp +++ b/src/core/bitmath_func.hpp @@ -178,7 +178,7 @@ static FORCEINLINE T ToggleBit(T &x, const uint8 y) extern const uint8 _ffb_64[64]; /** - * Returns the first occure of a bit in a 6-bit value (from right). + * Returns the first non-zero bit in a 6-bit value (from right). * * Returns the position of the first bit that is not zero, counted from the * LSB. Ie, 110100 returns 2, 000001 returns 0, etc. When x == 0 returns @@ -190,7 +190,7 @@ extern const uint8 _ffb_64[64]; #define FIND_FIRST_BIT(x) _ffb_64[(x)] /** - * Finds the position of the first bit in an integer. + * Finds the position of the first non-zero bit in an integer. * * This function returns the position of the first bit set in the * integer. It does only check the bits of the bitmask -- cgit v1.2.3-54-g00ecf