Fix a bug in BFCAllocator::Log2FloorNonZero() under non gnuc non windows mode,...
Fix a bug in BFCAllocator::Log2FloorNonZero() under non gnuc non windows mode, where it returns the bit index of the most significant '1' bit, starting from 1, but the expected result should start from 0 (i.e. it should return floor(log2(n)) ). PiperOrigin-RevId: 172522745
Loading
Please sign in to comment