C# Class RobustArithmetic.Test.Util.RandomDouble

Afficher le fichier Open project: govert/RobustGeometry.NET Class Usage Examples

Méthodes publiques

Méthode Description
NextDoubleFullRange ( ) : double

Returns a random double from the full range of possible double values. The sign, mantissa and the exponent are independent random numbers, thus the distribution of numbers is not uniform.

NextDoubleValidRange ( ) : double
RandomDouble ( int seed = null ) : System

Private Methods

Méthode Description
NextBool ( ) : bool
NextLong ( int numBits ) : long

Method Details

NextDoubleFullRange() public méthode

Returns a random double from the full range of possible double values. The sign, mantissa and the exponent are independent random numbers, thus the distribution of numbers is not uniform.
public NextDoubleFullRange ( ) : double
Résultat double

NextDoubleValidRange() public méthode

public NextDoubleValidRange ( ) : double
Résultat double

RandomDouble() public méthode

public RandomDouble ( int seed = null ) : System
seed int
Résultat System