hypot vs sqrt

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
hypot
Math.hypot(3, 5)
ready
sqrt sum prod
Math.sqrt(3*3 + 5*5)
ready
sqrt sum square
Math.sqrt(3**2 + 5**2)
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.