PHP 클래스 QCheck\Random

파일 보기 프로젝트 열기: steos/php-quickcheck

공개 메소드들

메소드 설명
__construct ( $seed = null )
i32 ( $long )
int_add ( $x, $y ) addition with only shifts and ands
int_mul ( $a, $b ) http://stackoverflow.com/questions/4456442/multiplication-of-two-integers-using-bitwise-operators
mask ( $val )
nextDouble ( )
nextInt ( )
rshiftu ( $a, $b )
setSeed ( $seed )

보호된 메소드들

메소드 설명
next ( $bits )

메소드 상세

__construct() 공개 메소드

public __construct ( $seed = null )

i32() 공개 정적인 메소드

public static i32 ( $long )

int_add() 공개 정적인 메소드

addition with only shifts and ands
public static int_add ( $x, $y )

int_mul() 공개 정적인 메소드

http://stackoverflow.com/questions/4456442/multiplication-of-two-integers-using-bitwise-operators
public static int_mul ( $a, $b )

mask() 공개 정적인 메소드

public static mask ( $val )

next() 보호된 메소드

protected next ( $bits )

nextDouble() 공개 메소드

public nextDouble ( )

nextInt() 공개 메소드

public nextInt ( )

rshiftu() 공개 정적인 메소드

public static rshiftu ( $a, $b )

setSeed() 공개 메소드

public setSeed ( $seed )