Commit 7bf0e722 authored by Matthias Braun's avatar Matthias Braun
Browse files

another fehler from 176.gcc

[r15452]
parent eee0372e
int floor_log2_wide (unsigned int x)
{
int log = -1;
while (x != 0)
log++, x >>= 1;
return log;
}
int main()
{
printf("Res: %d\n", floor_log2_wide(4294967251));
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment