Skip to content

Commit

Permalink
Port alpha's acosec to master.
Browse files Browse the repository at this point in the history
  • Loading branch information
colomon committed Feb 16, 2010
1 parent cc3f629 commit d1cb483
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/Num.pm
Expand Up @@ -146,6 +146,10 @@ augment class Num {
1 / self.sin($base);
}

multi method acosec($base = 'radians') {
(1 / self).asin($base);
}

multi method cotan($base = 'radians') {
1 / self.tan($base);
}
Expand Down

0 comments on commit d1cb483

Please sign in to comment.