Skip to content

Commit

Permalink
[Truffle] Fix PowNode execute method name.
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Sep 22, 2014
1 parent d3f3ea2 commit 0d23647
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,22 +170,22 @@ public PowNode(PowNode prev) {
}

@Specialization
public double mul(double a, int b) {
public double pow(double a, int b) {
return Math.pow(a, b);
}

@Specialization
public double mul(double a, long b) {
public double pow(double a, long b) {
return Math.pow(a, b);
}

@Specialization
public double mul(double a, double b) {
public double pow(double a, double b) {
return Math.pow(a, b);
}

@Specialization
public double mul(double a, BigInteger b) {
public double pow(double a, BigInteger b) {
return Math.pow(a, SlowPathBigInteger.doubleValue(b));
}

Expand Down

0 comments on commit 0d23647

Please sign in to comment.