Browse Source

Clarified SDL_MostSignificantBitIndex32() documentation

Fixes https://github.com/libsdl-org/SDL/issues/15247

(cherry picked from commit f22e0882111d1175c4456126efd4bec5fbd7b5c8)
Sam Lantinga 1 day ago
parent
commit
99a026cfde
1 changed files with 1 additions and 2 deletions
  1. 1 2
      include/SDL3/SDL_bits.h

+ 1 - 2
include/SDL3/SDL_bits.h

@@ -48,8 +48,7 @@ extern __inline int _SDL_bsr_watcom(Uint32);
 /**
 /**
  * Get the index of the most significant (set) bit in a 32-bit number.
  * Get the index of the most significant (set) bit in a 32-bit number.
  *
  *
- * Result is undefined when called with 0. This operation can also be stated
- * as "count leading zeroes" and "log base 2".
+ * This operation can also be stated as "count leading zeroes" and "log base 2".
  *
  *
  * Note that this is a forced-inline function in a header, and not a public
  * Note that this is a forced-inline function in a header, and not a public
  * API function available in the SDL library (which is to say, the code is
  * API function available in the SDL library (which is to say, the code is