Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Math.pow vs Exponentiation vs Multiplication vs Math.exp
(version: 1)
Comparing performance of:
Math.pow vs Exponentiation vs Multiplication vs Math.exp
Created:
one year ago
by:
Guest
Jump to the latest result
Script Preparation code:
var n = 1.234567;
Tests:
Math.pow
var x = Math.pow(n, 2);
Exponentiation
var y = n ** 2;
Multiplication
var y = n * n;
Math.exp
var x = Math.exp(2);
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (4)
Previous results
Fork
Test case name
Result
Math.pow
Exponentiation
Multiplication
Math.exp
Fastest:
N/A
Slowest:
N/A
Latest run results:
No previous run results
This benchmark does not have any results yet. Be the first one
to run it!
Comments
Confirm delete:
Do you really want to delete benchmark?