Script Preparation code:
AخA
 
var big = 4294967285
Tests:
  • number

     
    ((big >> 16) & 0xffff) * 65536 + (big & 0xffff)
  • bigint

     
    BigInt(big) & BigInt(0xffffffff)
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    number
    bigint

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0
Firefox 107 on Windows
View result in a separate tab
Test name Executions per second
number 1007464832.0 Ops/sec
bigint 7175707.0 Ops/sec