Skip to content

Commit

Permalink
updated pow.js
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielJDufour committed Nov 24, 2022
1 parent f29baa1 commit 0e23efa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pow.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
const absolute = require("./absolute.js");
const clean = require("./clean.js");
const divide = require("./divide.js");
// const fraction = require("./fraction.js");
const is_integer = require("./is_integer");
const is_zero = require("./is_zero.js");
const multiply = require("./multiply.js");
Expand Down Expand Up @@ -42,7 +43,7 @@ function pow(
return "1";
}

const sign_of_base = sign(base);
// const sign_of_base = sign(base);
const sign_of_exponent = sign(exponent);

if (base_is_zero) {
Expand Down

0 comments on commit 0e23efa

Please sign in to comment.