Skip to content

Commit 99a026c

Browse files
committed
Clarified SDL_MostSignificantBitIndex32() documentation
Fixes #15247 (cherry picked from commit f22e088)
1 parent fa68d7d commit 99a026c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

include/SDL3/SDL_bits.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ extern __inline int _SDL_bsr_watcom(Uint32);
4848
/**
4949
* Get the index of the most significant (set) bit in a 32-bit number.
5050
*
51-
* Result is undefined when called with 0. This operation can also be stated
52-
* as "count leading zeroes" and "log base 2".
51+
* This operation can also be stated as "count leading zeroes" and "log base 2".
5352
*
5453
* Note that this is a forced-inline function in a header, and not a public
5554
* API function available in the SDL library (which is to say, the code is

0 commit comments

Comments
 (0)