tags 326720 fixed-upstream thanks > Ramiro is right - that is, his text is much better than the > present text. However normalizations differ. > > It is true that tan(carg(z)) = cimag(z) / creal(z), > almost by definition. Taking atan() on both sides yields > atan(tan(carg(z))) = atan(cimag(z) / creal(z)) > but it is not precisely true that atan(tan(x)) = x. > The tan() function is periodic with period pi, and > atan() returns an answer in (-pi/2,pi/2], so atan(tan(x)) > returns the value that is congruent x mod pi and lies in > this interval. > In particular, atan(tan(carg(z))) returns a value that > is congruent carg(z) mod pi and lies in (-pi/2,pi/2]. > On the other hand, carg returns a value in [-pi,pi] > and if that return value does not lie in (-pi/2,pi/2] > then carg(z) and atan(cimag(z) / creal(z)) will differ by pi. > > In other words: you may write > "One has tan(carg(z)) = cimag(z) / creal(z)."
Okay -- that is what will appear in man-pages-2.08 -- Michael Kerrisk maintainer of Linux man pages Sections 2, 3, 4, 5, and 7 Want to help with man page maintenance? Grab the latest tarball at ftp://ftp.win.tue.nl/pub/linux-local/manpages/ and grep the source files for 'FIXME'. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]