HackerTrans
TopNewTrendsCommentsPastAskShowJobs

colgate_total

no profile record

comments

colgate_total
·há 3 anos·discuss
> 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 integers are indeed a subset of a real numbers.
colgate_total
·há 4 anos·discuss
Another optimization would be to compare square of distance instead of distance, saving "Math.sqrt" call each iteration.