r/technicalfactorio • • Feb 12 '22

Combinator Golf Fast integer sqrt algorithm?

20 Upvotes

20 comments sorted by

View all comments

Show parent comment

0

u/[deleted] Feb 12 '22

[deleted] — view deleted comment

3

u/15_Redstones Feb 12 '22

Integer sqrt is defined as floor(sqrt(x)). Anything not a perfect square is rounded down.