2287592339 vs 22875923392

Edit on GitHub

Setup

var i = 0.016;
var MAX_DELTA = 0.5;

Tests

  • 2287592339

    if (i > MAX_DELTA) {
      i = MAX_DELTA;
    }
  • 22875923392

    i = Math.min(i, MAX_DELTA);