Coder Social home page Coder Social logo

The deterministic random number generation function does not produce values on the full 32-bit signed possible range about octane HOT 1 CLOSED

chromium avatar chromium commented on June 16, 2024
The deterministic random number generation function does not produce values on the full 32-bit signed possible range

from octane.

Comments (1)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 16, 2024
What this basically means is that we produce only 28 random bits, with your 
change it would be 31, with 
https://code.google.com/p/v8/source/browse/branches/bleeding_edge/src/math.js#18
0 it would be 32. Of course the RNG will still not produce most numbers in 
[0..1), because the IEEE 754 mantissa has 52 bits, while we produce 32. So 
changing this will make things marginally better, but I think it's not worth 
the trouble for the benchmark suite. Furthermore, any change here would mean 
that we would not be able to compare benchmark numbers before and after this 
change anymore, which would be unfortunate.

If somebody fundamentally disagrees, feel free to re-open this issue, but 
otherwise I think we won't take any action here.

Original comment by [email protected] on 16 Apr 2014 at 11:03

  • Changed state: WontFix

from octane.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.