code: public static double nextDouble()
    {
      Random random = getRandom();
  
      double value = random.nextDouble();
  
      if (! _isTest)
        _freeRandomList.free(random);
  
      return value;
    }
docs: Returns the next random double between 0 and 1