Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This compliant solution ensures that the loop counter computation involves numbers less than 2<superscript>24</superscript>
(224 (that is, 281,474,976,710,656).

Code Block
bgColor#ccccff
langperl
my $x = 10000000000000000;  # 1e+16
for (my $y = 0; $y <= 5; $y += 1) {
  my $z = $x + $y;
  print "$z\n";
}

...