genRandReal3 method

double genRandReal3()

Returns the next random double in the open interval (0, 1).

Implementation

double genRandReal3() {
  var random = _randInt53();
  var maxDouble = _maxDouble;
  if (w >= 53) {
    random >>>= 1;
    maxDouble /= 2;
  }
  return (random.toDouble() + 0.5) * (1.0 / maxDouble);
}