src/core/bitmath_func.hpp
changeset 8551 a7c546f4cf86
parent 8496 8a4bdf20acb7
child 8609 8c0c3e9dd6a0
equal deleted inserted replaced
8550:106be4d4bd49 8551:a7c546f4cf86
   209 		return FIND_FIRST_BIT(value & 0x3F);
   209 		return FIND_FIRST_BIT(value & 0x3F);
   210 	}
   210 	}
   211 }
   211 }
   212 
   212 
   213 uint8 FindFirstBit(uint32 x);
   213 uint8 FindFirstBit(uint32 x);
   214 uint8 FindLastBit(uint32 x);
   214 uint8 FindLastBit(uint64 x);
   215 
   215 
   216 /**
   216 /**
   217  * Clear the first bit in an integer.
   217  * Clear the first bit in an integer.
   218  *
   218  *
   219  * This function returns a value where the first bit (from LSB)
   219  * This function returns a value where the first bit (from LSB)