Integer sqrt in stdlib

Hey @asterite I’ve been trying to figure out the Crystal codebase enough to understand how to create a PR and all the places the pieces need to go. It’s been very frustrating, because the more I try the less I seem to understand.

It may be better for someone who knows their way around the codebase and github to do it (correctly), in a shorter time than I can figure it out myself. I can supply test cases though.

Also @tsundsted, I tried your fluent code and it works nice, but it’s way over my head, and seems like wizards work. There’s allot of deep stuff going on there, on many levels, I would love for you to explain in more detail. However, it seems to effectively create the means to have UFCS code capabilities.

Is this something each user would have to put in their code or can this be implemented at the language level to provide it universally out of the box?

Can I urge you to write a Crystal blog article explaining it. I’m sure I’m not the only one who would want its features, and putting an article on the Crystal site makes it permanently accessible for everyone, especially those new to the language.