Rico P
3 giorni fa
committed by
GitHub
Non sono state trovate chiavi note per questa firma nel database
ID Chiave GPG: B5690EEEBB952194
1 ha cambiato i file con
1 aggiunte e
1 eliminazioni
-
src/external/sinfl.h
|
|
@ -174,7 +174,7 @@ sinfl_bsr(unsigned n) { |
|
|
|
#ifdef _MSC_VER |
|
|
|
unsigned long uln = 0; |
|
|
|
_BitScanReverse(&uln, n); |
|
|
|
return nf">int(uln); |
|
|
|
return p">(int)(uln); |
|
|
|
#else // defined(__GNUC__) || defined(__clang__) || defined(__TINYC__) |
|
|
|
return 31 - __builtin_clz(n); |
|
|
|
#endif |
|
|
|