ps = 0.5 - 0.5 * p;
yi = sqrt (log (1.0 / (ps * ps)));
- t = yi + (((( yi * p4 + p3) * yi + p2) * yi + p1) * yi + p0)
- / (((( yi * q4 + q3) * yi + q2) * yi + q1) * yi + q0);
+ t = yi + ((((yi * p4 + p3) * yi + p2) * yi + p1) * yi + p0)
+ / ((((yi * q4 + q3) * yi + q2) * yi + q1) * yi + q0);
if (v < vmax) t += (t * t * t + t) / v / 4.0;
q = c1 - c2 * t;
if (v < vmax) q += -c3 / v + c4 * t / v;
}
/* df must be > 1 ; there must be at least two values */
- /* ^^
+ /* ^^
JMD: The comment says 1 but the code says 2.
Which is correct?
*/
assert (df >= 2);
assert (rr >= 1);
assert (cc >= 2);
-
+
R_Q_P01_boundaries (p, 0, ML_POSINF);