> eg Is there a formal proof that says integers strictly follow that same rules as the continuous domain, just as a subset? I'm interested. It may have come as a surprise to a programmer, but in the domain of math, the…
Another optimization would be to compare square of distance instead of distance, saving "Math.sqrt" call each iteration.
> eg Is there a formal proof that says integers strictly follow that same rules as the continuous domain, just as a subset? I'm interested. It may have come as a surprise to a programmer, but in the domain of math, the…
Another optimization would be to compare square of distance instead of distance, saving "Math.sqrt" call each iteration.