public static double RandomMinMax(double min, double max) { if (min > max) { double copy = min; min = max; max = copy; } else if (min == max) { return(min); } return(min + (RandomImpl.NextDouble() * (max - min))); }
public static double RandomDouble() { return(RandomImpl.NextDouble()); }
public static double RandomDouble() => RandomImpl.NextDouble();