Category talk:Wren-long: Difference between revisions

Content added Content deleted
m (→‎Source code: Tweak.)
(→‎Source code: Bug fix.)
Line 573: Line 573:
// such that x0.square <= this.
// such that x0.square <= this.
isqrt {
isqrt {
if (isSmall) return toNum.sqrt.floor
if (isSmall) return ULong.fromSmall_(toNum.sqrt.floor)
// otherwise use Newton's method
// otherwise use Newton's method
var x0 = this >> 1
var x0 = this >> 1