It’s a good suggestion
blazebra
joined 1 year ago
Does it still work?
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 makes sense if they hire middles, not seniors