summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2008-04-14 15:16:08 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2008-04-14 15:16:08 +0000
commita1021d57870f2cf967a704182b47a5defa79a0f1 (patch)
tree40326f056c4af75bc3048b77b4c033182716fe73 /pp.c
parent72241cc917b12736c9ada9c5661d4698c7069fba (diff)
downloadperl-a1021d57870f2cf967a704182b47a5defa79a0f1.tar.gz
Revert change #33676, likely to break atan(-0,0) on some platforms
p4raw-link: @33676 on //depot/perl: 9d6bff35783dc768c5d72663e6e2d31769c5da91 p4raw-id: //depot/perl@33678
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/pp.c b/pp.c
index 145e74cd15..d940d104c1 100644
--- a/pp.c
+++ b/pp.c
@@ -2798,10 +2798,7 @@ PP(pp_atan2)
dVAR; dSP; dTARGET; tryAMAGICbin(atan2,0);
{
dPOPTOPnnrl;
- if (left == 0.0 && right == 0.0)
- SETs(&PL_sv_undef);
- else
- SETn(Perl_atan2(left, right));
+ SETn(Perl_atan2(left, right));
RETURN;
}
}