summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jarkko.hietaniemi@booking.com>2015-01-19 21:52:13 +0100
committerKarl Williamson <khw@cpan.org>2015-01-20 09:49:36 -0700
commit44a465b3a06ab1f2660624ca7a8a125c739a587b (patch)
tree14a69e9014095b096a0a88f048c8e33853d7ec00
parent7b5f862a8b6cc59b1bbb7a50d05b8c38fefbe1ca (diff)
downloadperl-44a465b3a06ab1f2660624ca7a8a125c739a587b.tar.gz
Mention some curious cases of **
-rw-r--r--pod/perlop.pod5
1 files changed, 5 insertions, 0 deletions
diff --git a/pod/perlop.pod b/pod/perlop.pod
index d4b0cd102b..dc546fb0c3 100644
--- a/pod/perlop.pod
+++ b/pod/perlop.pod
@@ -207,6 +207,11 @@ tightly than unary minus, so -2**4 is -(2**4), not (-2)**4. (This is
implemented using C's pow(3) function, which actually works on doubles
internally.)
+Note that certain exponentiation expressions are ill-defined:
+these include C<0**0>, C<1**Inf>, and C<Inf**0>. Do not expect
+any particular results from these special cases, the results
+are platform-dependent.
+
=head2 Symbolic Unary Operators
X<unary operator> X<operator, unary>