android doesn't have log2