diff options
author | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2005-04-13 15:48:51 +0000 |
---|---|---|
committer | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2005-04-13 15:48:51 +0000 |
commit | e33acdcfe80d6194b8a508c06c6aef4e77da6769 (patch) | |
tree | 9b888e83eb2cfc49cc286c6e6d3266b5aeb4e2a1 /atan2.c | |
parent | 527c124b5889c94b6a29b9ad1a0d9a082ef80a24 (diff) | |
download | mpfr-e33acdcfe80d6194b8a508c06c6aef4e77da6769.tar.gz |
Add TODO.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@3438 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'atan2.c')
-rw-r--r-- | atan2.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -22,7 +22,14 @@ MA 02111-1307, USA. */ #define MPFR_NEED_LONGLONG_H #include "mpfr-impl.h" -/* Returns arctan (y/x) */ +/* TODO: + Returns arctan2 (y, x) = atan (y/x) si x > 0 + = sign(y)*(PI - atan (|y/x|)) si x < 0 + = 0 si x = 0 et y = 0 + sign(y) * PI/2 si x = 0 et y != 0 + How to handle signed zeros? +*/ + int mpfr_atan2 (mpfr_ptr dest, mpfr_srcptr y, mpfr_srcptr x, mp_rnd_t rnd_mode) { |