Test case name | Result |
---|---|
1024 === pow(1048576,0.5) | |
1048576 === 1024**0.5 | |
Math.sqrt(1048576) === 1024 |
Test name | Executions per second |
---|---|
1024 === pow(1048576,0.5) | 905256320.0 Ops/sec |
1048576 === 1024**0.5 | 855654336.0 Ops/sec |
Math.sqrt(1048576) === 1024 | 851342208.0 Ops/sec |