diff options
author | alberth <alberth@openttd.org> | 2010-07-31 21:02:56 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-07-31 21:02:56 +0000 |
commit | a825b4fa5f159604f9f61bafa21b75a22d8944f5 (patch) | |
tree | 7a9c837d047157b4e2d0d068c0c3462c7a643ef9 /src/core/bitmath_func.hpp | |
parent | adf94b85297b6a11989617eaa1081c7b1da08b62 (diff) | |
download | openttd-a825b4fa5f159604f9f61bafa21b75a22d8944f5.tar.xz |
(svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements.
Diffstat (limited to 'src/core/bitmath_func.hpp')
-rw-r--r-- | src/core/bitmath_func.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 |