I'm observing a rather weird phenomenon: when I increase the amount of CPU computations required from 10+ million to few hundred millions (most are multiplication and additions and divisions), if I compute them in float, the speed turns out to be much faster. However, for operations below a certain amount that is not so extreme, integer computation is indeed faster, as expected.
Is there a particular reason why this happens? I'm suspecting it might have to do with float operations getting parallelized automatically when the computations increase significantly, but not for integer computation. Note that I did not explicitly perform multi-threading for the application. I'm no expert on Android, so I'm wondering if any android pro or computer architecture expert could enlighten me on this.
Thank you.