Testing with cheby1 and ellip at higher orders, the DC gain is 1 if N is odd, and -rp dB if N is even, so it would seem that since 0 is even, 0-order gain should also be -rp, but I'm not sure.  This is what ellip already did before my changes, while cheb1y had a divide by zero error.