void compare(double p, int k, int n, double result) {
		double prob = Binomial.get().pdf(p, k, n);

		double abs = Math.abs(prob - result);
		double diff = abs / Math.min(prob, result);
		if ((abs > 1E-300) && (diff > 0.00000000001)) throw new RuntimeException("Relative difference:" + diff + "\t\t" + prob + " != " + result);
	}