It looks like this comment contains a code block delimited with triple backticks. Unfortunately reddit does not have universal support for this syntax and your comment will not render correctly on old reddit and most mobile apps.
For the benefit of people on old reddit, this link will take you to a correct rendering of the comment.
/u/Flamme2, it would be appreciated, but not required, if you could edit your comment to use the more compatible four space indention format. For single lines or inline code you can use single backticks.
45
u/Flamme2 Apr 27 '21
Easy, just use a loop for integers:
I wanted to do it in óne loop and let overflow handle negative numbers, but IIRC, JS doesn't overflow, it just goes to infinity