Skip to content

Commit

Permalink
Merge branch 'trig'
Browse files Browse the repository at this point in the history
  • Loading branch information
colomon committed Sep 16, 2009
2 parents d054b7e + 8277559 commit d1f2d4c
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions src/setting/Any-num.pm
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,32 @@ class Any is also {
our Num multi method cotan($base = 'radians') is export {
self.Num.cotan($base);
}

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

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

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

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

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

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


}

our Num sub rand (*@args) {
Expand Down

0 comments on commit d1f2d4c

Please sign in to comment.