Test case name | Result |
---|---|
pow(1024,2) === 1048576 | |
1048576 === 1024**2 | |
Math.sqrt(1048576) === 1024 |
Test name | Executions per second |
---|---|
pow(1024,2) === 1048576 | 862647872.0 Ops/sec |
1048576 === 1024**2 | 859712192.0 Ops/sec |
Math.sqrt(1048576) === 1024 | 839713664.0 Ops/sec |