Bazebara@programming.devtoGame Development@programming.dev•Anyone interested in a book club?
1·
6 months agoBasically the same.
Basically the same.
It would be more cool with better descriptions and visual examples
Integer sqrt can be used for integers with any length, not only for integers fit into f64
Integer sqrt is usually not a library function and it’s very easy to implement, just a few lines of code. Algorithm is well defined on Wikipedia you read a lot. And yes, it doesn’t use FPU at all and it’s quite fast even on i8086.
Algorithm is so plain and simple, it doesn’t require nightly or Rust specifically to implement.
Nice article, I enjoyed it. Why float sqrt has been used? Integer sqrt is way faster and easily supports integers of any lengths
Could you please explain why he should be embarrassed by such post? What would you improve?
It’s a good suggestion