Skip to content

Commit

Permalink
Add Any.atan2.
Browse files Browse the repository at this point in the history
  • Loading branch information
colomon committed Sep 24, 2009
1 parent bac4abd commit 7a33068
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/setting/Any-num.pm
Expand Up @@ -126,6 +126,10 @@ class Any is also {
self.Num.atan($base);
}

our Num multi method atan2($x = 1, $base = 'radians') is export {
self.Num.atan2($x, $base);
}

our Num multi method asec($base = 'radians') is export {
self.Num.asec($base);
}
Expand Down

0 comments on commit 7a33068

Please sign in to comment.