p_gt, p_ge, p_le, p_lt, basic implementation.