sc_x2y
if (s->y > sc_x2y(sc, s->x))
if (y > sc_x2y(sc, sc->d))
static double sc_x2y(struct service_curve *, double);