Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix output shown for say (-1)²
  • Loading branch information
zoffixznet committed Oct 27, 2016
1 parent 5a5b428 commit e10d6e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/Language/traps.pod6
Expand Up @@ -346,8 +346,8 @@ Perl 6 matches these rules of mathematics and the precedence of C<**> operator
tighter than that of the prefix C<->. If you wish to raise a negative number
to a power, use parentheses:
say (-1)²; # -1
say (-1)**2; # -1
say (-1)²; # 1
say (-1)**2; # 1
=head1 Subroutine and method calls
Expand Down

0 comments on commit e10d6e0

Please sign in to comment.