Fix typo: log2 → log2f.