Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Javascript number with and without exponent (e)
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Browser:
Chrome 130
Operating system:
Windows
Device Platform:
Desktop
Date tested:
one year ago
Test name
Executions per second
Without exponent
11954781.0 Ops/sec
With exponent
12048140.0 Ops/sec
With calculation
11422997.0 Ops/sec
Tests:
Without exponent
Math.random() + 0.00000000019402553646857487 + 0.00000000019402553646857487
With exponent
Math.random() + 1.9402553646857487e-10 + 1.9402553646857487e-10
With calculation
Math.random() + (1/2147483647 * 2.5/6) + (1/2147483647 * 2.5/6)