exclude log2 usage which requires C99 support