Android's API-9 SDK is missing log2.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Should I submit this as is or create a
lib/Support/Math.h
lib/Support/Math.cpp
That just wraps log2 on most platforms and does the right thing on Android.
Comment Actions
created an abstraction for log2
Added llvm::Log2 in Support/MathExtras.h
Hid Android problems inside of it