summaryrefslogtreecommitdiff
path: root/mathoms.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-02-07 17:12:08 +0000
committerNicholas Clark <nick@ccl4.org>2006-02-07 17:12:08 +0000
commit71302fe379907f97d78296ec5f7430559d3a05ca (patch)
tree2476524682451348c6fe00cb99dccd3b17884c47 /mathoms.c
parenta4a772887f4f3b784d817fd0589ea0a4e83d9549 (diff)
downloadperl-71302fe379907f97d78296ec5f7430559d3a05ca.tar.gz
All the trancendental unary operators can be merged into PP_sin
(cos, exp, log, sqrt) p4raw-id: //depot/perl@27124
Diffstat (limited to 'mathoms.c')
-rw-r--r--mathoms.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/mathoms.c b/mathoms.c
index 0f0f15737b..a96c75268d 100644
--- a/mathoms.c
+++ b/mathoms.c
@@ -1054,6 +1054,26 @@ PP(pp_pop)
return pp_shift();
}
+PP(pp_cos)
+{
+ return pp_sin();
+}
+
+PP(pp_exp)
+{
+ return pp_sin();
+}
+
+PP(pp_log)
+{
+ return pp_sin();
+}
+
+PP(pp_sqrt)
+{
+ return pp_sin();
+}
+
U8 *
Perl_uvuni_to_utf8(pTHX_ U8 *d, UV uv)
{