[base] Make random ToDouble better distributed Use division instead of bit magic plus subtraction to map the RNG integer state into the [0,1) double value range. Fixed: 392121646 Change-Id: Iedf6251ef11c05b17b7be3c1ac2f530602744b76 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6286169 Commit-Queue: Leszek Swirski <leszeks@chromium.org> Reviewed-by: Emanuel Ziegler <ecmziegler@chromium.org> Commit-Queue: Emanuel Ziegler <ecmziegler@chromium.org> Auto-Submit: Leszek Swirski <leszeks@chromium.org> Cr-Commit-Position: refs/heads/main@{#98835}
V8 is Google's open source JavaScript engine.
V8 implements ECMAScript as specified in ECMA-262.
V8 is written in C++ and is used in Google Chrome, the open source browser from Google.
V8 can run standalone, or can be embedded into any C++ application.
V8 Project page: https://v8.dev/docs
Checkout depot tools, and run
fetch v8
This will checkout V8 into the directory v8 and fetch all of its dependencies. To stay up to date, run
git pull origin
gclient sync
For fetching all branches, add the following into your remote configuration in .git/config:
fetch = +refs/branch-heads/*:refs/remotes/branch-heads/*
fetch = +refs/tags/*:refs/tags/*
Please follow the instructions mentioned at v8.dev/docs/contribute.