Skip to content

Commit

Permalink
Add stub for Numeric.roots.
Browse files Browse the repository at this point in the history
  • Loading branch information
colomon committed May 20, 2010
1 parent f6374ad commit 8292d45
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/core/Numeric.pm
Expand Up @@ -39,6 +39,11 @@ role Numeric {
fail "$.WHAT() needs a version of .sqrt";
}

method roots(Numeric $x: Int $n) {
note "$.WHAT() needs a version of .roots";
fail "$.WHAT() needs a version of .roots";
}

INIT {
our @trig-base-conversions = (1.0, pi / 180.0, pi / 200.0, 2.0 * pi);
}
Expand Down

0 comments on commit 8292d45

Please sign in to comment.