lightspark/lightspark — pull request #135 by dxli (2011-10-20 20:54:55+00:00)
Title: Fixed random() according to specification

actionscript reference specify random() returns 0<= n < 1

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Math.html#random%28%29

This pull request avoid returning random() = 1