title: Why is int * float faster than int / int?
body: <p>I've been reading up that floating point math on something like a tiny Arduino microcontroller is bad. So in trying to use less floats, I discovered something odd.</p>
  
  <pre><code>// Baseline
  float brightness = 0.05;
  int result = someInt * brightness;
  
  // Takes about twice as long
  int brightness = 20;
  int result = someInt / brightness;
  </code></pre>
  
  <p>Both have the same goal, to reduce an integer to by one twentieth of its original value. But in doing math optimization, I'm not sure why the float is faster.</p>