Clarified SDL_MostSignificantBitIndex32() documentation
Fixes https://github.com/libsdl-org/SDL/issues/15247
This commit is contained in:
@@ -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
|
* This operation can also be stated as "count leading zeroes" and "log base 2".
|
||||||
* 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
|
||||||
|
|||||||
Reference in New Issue
Block a user