There's always an edge case I guess.
Welp, it turns out that the off-circle-ness is called the eccentricity, given by e=sqrt(1-b^2/a^2), where circles have e=0. In practice with this function, the programmer should rethink what he's doing if looking to apply this function to very eccentric shapes that are fussy down to the pixel.