C# 클래스 QuickCheck.Random.Random

파일 보기 프로젝트 열기: jystic/quickcheck-net

공개 메소드들

메소드 설명
Bool ( this random ) : bool

Generate a uniformly distributed bool in the range [false, true].

Byte ( this random ) : Byte

Generate a uniformly distributed byte in the range [0, 2^8).

Double ( this random ) : double

Generate a uniformly distributed double in the range (0, 1]. Zero is explicitly excluded, to allow generated values to be used in statistical calculations that require non-zero values (e.g. uses of the 'log' function).

Subtract Math.Pow(2, -53) to generate a double in a range of [0,1).

Float ( this random ) : float

Generate a uniformly distributed float in the range (0, 1]. Zero is explicitly excluded, to allow generated values to be used in statistical calculations that require non-zero values (e.g. uses of the 'log' function).

Subtract Math.Pow(2, -33) to generate a float in a range of [0,1).

Int16 ( this random ) : Int16

Generate a uniformly distributed short in the range [-2^8, 2^8).

Int32 ( this random ) : Int32

Generate a uniformly distributed int in the range [-2^16, 2^16).

Int64 ( this random ) : System.Int64

Generate a uniformly distributed long in the range [-2^32, 2^32).

SByte ( this random ) : SByte

Generate a uniformly distributed sbyte in the range [-2^4, 2^4).

UInt16 ( this random ) : UInt16

Generate a uniformly distributed uint in the range [0, 2^16).

UInt64 ( this random ) : System.UInt64

Generate a uniformly distributed ulong in the range [0, 2^64).

비공개 메소드들

메소드 설명
ToDouble ( uint v, uint u ) : double
ToFloat ( uint i ) : float

메소드 상세

Bool() 공개 정적인 메소드

Generate a uniformly distributed bool in the range [false, true].
public static Bool ( this random ) : bool
random this
리턴 bool

Byte() 공개 정적인 메소드

Generate a uniformly distributed byte in the range [0, 2^8).
public static Byte ( this random ) : Byte
random this
리턴 Byte

Double() 공개 정적인 메소드

Generate a uniformly distributed double in the range (0, 1]. Zero is explicitly excluded, to allow generated values to be used in statistical calculations that require non-zero values (e.g. uses of the 'log' function).

Subtract Math.Pow(2, -53) to generate a double in a range of [0,1).
public static Double ( this random ) : double
random this
리턴 double

Float() 공개 정적인 메소드

Generate a uniformly distributed float in the range (0, 1]. Zero is explicitly excluded, to allow generated values to be used in statistical calculations that require non-zero values (e.g. uses of the 'log' function).

Subtract Math.Pow(2, -33) to generate a float in a range of [0,1).
public static Float ( this random ) : float
random this
리턴 float

Int16() 공개 정적인 메소드

Generate a uniformly distributed short in the range [-2^8, 2^8).
public static Int16 ( this random ) : Int16
random this
리턴 System.Int16

Int32() 공개 정적인 메소드

Generate a uniformly distributed int in the range [-2^16, 2^16).
public static Int32 ( this random ) : Int32
random this
리턴 System.Int32

Int64() 공개 정적인 메소드

Generate a uniformly distributed long in the range [-2^32, 2^32).
public static Int64 ( this random ) : System.Int64
random this
리턴 System.Int64

SByte() 공개 정적인 메소드

Generate a uniformly distributed sbyte in the range [-2^4, 2^4).
public static SByte ( this random ) : SByte
random this
리턴 SByte

UInt16() 공개 정적인 메소드

Generate a uniformly distributed uint in the range [0, 2^16).
public static UInt16 ( this random ) : UInt16
random this
리턴 System.UInt16

UInt64() 공개 정적인 메소드

Generate a uniformly distributed ulong in the range [0, 2^64).
public static UInt64 ( this random ) : System.UInt64
random this
리턴 System.UInt64