Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:120.0) Gecko/20100101 Firefox/120.0
Firefox 120
Linux
Desktop
one year ago
Test name Executions per second
Multiply 539001536.0 Ops/sec
Exponentiation 1317603840.0 Ops/sec
Math.pow 1260297088.0 Ops/sec
Tests:
  • Multiply

    AخA
     
    x = 49.745232942 * 49.745232942
  • Exponentiation

     
    x = 49.745232942 ** 2
  • Math.pow

     
    x = Math.pow(49.745232942, 2)