doubles function
Generates random double-precision floating-point numbers.
By default, generates from negative infinity to infinity, allowing NaN.
tc.draw(doubles(min: 0.0, max: 1.0))
Implementation
Generator<double> doubles({
double min = double.negativeInfinity,
double max = double.infinity,
bool allowNan = true,
bool allowInfinity = true,
bool excludeMin = false,
bool excludeMax = false,
double smallestNonzeroMagnitude = 5e-324,
}) {
return DoubleGenerator(
min,
max,
allowNan,
allowInfinity,
excludeMin,
excludeMax,
smallestNonzeroMagnitude,
);
}