diff options
| -rw-r--r-- | challenge-026/markus-holzer/perl6/ch-2.p6 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge-026/markus-holzer/perl6/ch-2.p6 b/challenge-026/markus-holzer/perl6/ch-2.p6 index d4a6529a4f..8c53908732 100644 --- a/challenge-026/markus-holzer/perl6/ch-2.p6 +++ b/challenge-026/markus-holzer/perl6/ch-2.p6 @@ -3,7 +3,7 @@ use Test; # Rakus trigonometry functions operate on radians. So we must convert degrees to radians. # That's simple enough using a new postfix operator and high school math. multi sub postfix:<°>( Numeric $degrees ) returns Real { $degrees * π / 180 } - + # This implements the "simple" version of the algorithm as described on Wikipedia. # There already is an implementation of the complex math version (that uses `i`) # on Rosetta-Code https://rosettacode.org/wiki/Averages/Mean_angle#Perl_6 |
