summaryrefslogtreecommitdiff
path: root/src/atan2.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2011-06-20 13:59:31 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2011-06-20 13:59:31 +0000
commit9f16305a45eee7e5728c41c8623d01a36d167357 (patch)
treed088e8318a65e7e713d27b6c673aef3dbffba713 /src/atan2.c
parent3dc66286f6d939f4e1e2079722a8ba052c827c87 (diff)
downloadmpfr-9f16305a45eee7e5728c41c8623d01a36d167357.tar.gz
[src] Conversion into UTF-8 (only comments were concerned).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7717 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/atan2.c')
-rw-r--r--src/atan2.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/atan2.c b/src/atan2.c
index 070788935..8c14c91c1 100644
--- a/src/atan2.c
+++ b/src/atan2.c
@@ -67,17 +67,17 @@ mpfr_atan2 (mpfr_ptr dest, mpfr_srcptr y, mpfr_srcptr x, mpfr_rnd_t rnd_mode)
/* atan2(0, 0) does not raise the "invalid" floating-point
exception, nor does atan2(y, 0) raise the "divide-by-zero"
floating-point exception.
- -- atan2(±0, -0) returns ±pi.313)
- -- atan2(±0, +0) returns ±0.
- -- atan2(±0, x) returns ±pi, for x < 0.
- -- atan2(±0, x) returns ±0, for x > 0.
- -- atan2(y, ±0) returns -pi/2 for y < 0.
- -- atan2(y, ±0) returns pi/2 for y > 0.
- -- atan2(±oo, -oo) returns ±3pi/4.
- -- atan2(±oo, +oo) returns ±pi/4.
- -- atan2(±oo, x) returns ±pi/2, for finite x.
- -- atan2(±y, -oo) returns ±pi, for finite y > 0.
- -- atan2(±y, +oo) returns ±0, for finite y > 0.
+ -- atan2(±0, -0) returns ±pi.313)
+ -- atan2(±0, +0) returns ±0.
+ -- atan2(±0, x) returns ±pi, for x < 0.
+ -- atan2(±0, x) returns ±0, for x > 0.
+ -- atan2(y, ±0) returns -pi/2 for y < 0.
+ -- atan2(y, ±0) returns pi/2 for y > 0.
+ -- atan2(±oo, -oo) returns ±3pi/4.
+ -- atan2(±oo, +oo) returns ±pi/4.
+ -- atan2(±oo, x) returns ±pi/2, for finite x.
+ -- atan2(±y, -oo) returns ±pi, for finite y > 0.
+ -- atan2(±y, +oo) returns ±0, for finite y > 0.
*/
if (MPFR_IS_NAN (x) || MPFR_IS_NAN (y))
{