Add integer promotion to tuning frequency calculation.