HackerTrans
トップ新着トレンドコメント過去質問紹介求人

colgate_total

no profile record

コメント

colgate_total
·3 年前·議論
> 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
·4 年前·議論
Another optimization would be to compare square of distance instead of distance, saving "Math.sqrt" call each iteration.