V8 Blog company blog

There's Math.random(), and then there's Math.random() (2015)

V8’s Math.random implementation now uses an algorithm called xorshift128+, improving the randomness compared to the old MWC1616 implementation.
Points
124
HN comments
76
Submissions
1
Cited by
5 commenters

Software EngineeringMath & Algorithms2025

On Hacker News

SubmittedTitle on HNPointsComments
Feb 3, 2025There's Math.random(), and then there's Math.random() (2015) by beepill12476

Cited in comments

Linked from 5 Hacker News comments by 5 different people, from Oct 2019 to Aug 2023.

Most recent:

Search every comment that links here →

More from V8 Blog

All 17 posts →

Related posts from the same era