Skip to content

Commit

Permalink
Complex.polar
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Sep 30, 2009
1 parent 2d34081 commit d9cbe43
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/setting/Complex.pm
Expand Up @@ -50,10 +50,14 @@ class Complex {
}
}
multi method log10 {
multi method log10() {
$.log / 10.log;
}
multi method polar() {
$.abs, atan2($.im, $.re);
}
multi method sqrt() {
Q:PIR {
$P0 = get_root_namespace ['parrot'; 'Complex' ]
Expand Down

0 comments on commit d9cbe43

Please sign in to comment.