計算結果もあっているみたい。 計算途中結果をダンプして眺めてみていたのですが、2進数で小数点以下を表現することによる誤差のため、本来0であるべき桁に9が入っていたりして、そのため各桁で最大10回テストしないといけないのに最大9回しかできていなかったことが判明。このため、root ...
start with an arbitray guess (ex: 1) square the guess and take the absolute value of the difference from N if this difference is close enough within some tolerance value (ex: 0.0001), then return the ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する