Skip to content

Commit

Permalink
Fix the previous asin checkin so it actually works.
Browse files Browse the repository at this point in the history
  • Loading branch information
colomon committed Oct 2, 2009
1 parent f52e459 commit c4dbb59
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/setting/Any-num.pm
Expand Up @@ -138,7 +138,7 @@ class Any is also {
self.Num.cotanh($base);
}

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

Expand Down
2 changes: 1 addition & 1 deletion src/setting/Complex.pm
Expand Up @@ -29,7 +29,7 @@ class Complex {
}

multi method asin($base = 'radians') {
-1i * log((self)i + sqrt(1 - self * self));
(-1i * log((self)i + sqrt(1 - self * self)))!from-radians($base);
}

multi method cos($base = 'radians') {
Expand Down
2 changes: 1 addition & 1 deletion src/setting/Num.pm
Expand Up @@ -111,7 +111,7 @@ class Num is also {
$r!from-radians($base)
}

our Num multi method asin($base = 'radians') is export {
our Num multi method asin($base = 'radians') {
my $r = Q:PIR {
$N0 = self
$N1 = asin $N0
Expand Down

0 comments on commit c4dbb59

Please sign in to comment.