You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are hardware instructions on X86 for approximate inverse square root and square root which can improved upon via newton's method.
See the for loop at the bottom of bodies_advance here: https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/nbody-rust-7.html
It would look a lot better if this example could be re-written to use purely safe, normal looking rust code.
The text was updated successfully, but these errors were encountered:
There are hardware instructions on X86 for approximate inverse square root and square root which can improved upon via newton's method.
See the for loop at the bottom of
bodies_advance
here: https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/nbody-rust-7.htmlIt would look a lot better if this example could be re-written to use purely safe, normal looking rust code.
The text was updated successfully, but these errors were encountered: