Looping over float-range is faster than looping over int-range?

Yes, I see the same effect. When I change the literals to floats, runtime drops from 43ms to 8ms.

But this really goes against my instincts, which are to use integer literals as much as I can, both for readability, generality, and normally also performance. I mean, since when are integer powers faster than float powers?!