@override double cdf(double x) { if (x < min) { return 0.0; } if (x >= max) { return 1.0; } return (x - min) / (max - min); }