(1/(ab))*( Arctan((b/a)*tan(x)) + π*floor(x/π + 1/2)),
とか