fn p_transform(p: f64, lower_tail: c_int, log_p: c_int) -> f64
Apply lower_tail and log_p transforms to a CDF value.