>>106
atan2がtanの逆関数といったのは数学的な意味ね。
tan(θ)=y/x <=> θ=atan2(y, x)。


じゃあ、変な関数だけど
void sqrt_and_atan2(double x, double y, double *_sqrt, double *_atan2)
{
  *_sqrt = sqrt(x*x+y*y);
  *_atan2 = atan2(y, x);
}