Reviewers: Rico, Erik Corry,
Message:
Other JavaScript implementations return 32 random bits from Math.random.
This
changes makes us do the same. Erik - could you look at the ARM version?
bug=558
(http://code.google.com/p/v8/issues/detail?id=558)
Description:
Change Math.random() to return 32 bits of random goodness, instead of 30
random
bits. Math.random now allocates a HeapNumber inline, and calls a C funciton
directly to put the random bits into it.
Please review this at http://codereview.chromium.org/1599019
SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/
Affected files:
M src/arm/codegen-arm.h
M src/arm/codegen-arm.cc
M src/assembler.h
M src/assembler.cc
M src/codegen.h
M src/ia32/codegen-ia32.h
M src/ia32/codegen-ia32.cc
M src/math.js
M src/serialize.cc
M src/v8.h
M src/v8.cc
M src/x64/codegen-x64.h
M src/x64/codegen-x64.cc
M test/cctest/test-log-stack-tracer.cc
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
To unsubscribe, reply using "remove me" as the subject.