Skip to content

Commit

Permalink
updated pow.js error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielJDufour committed Nov 23, 2022
1 parent 4e5a66f commit 8ce65c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pow.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function pow(

if (!exponent_is_integer) {
// eq(pow("2", "1/3"), "1.2599210498948732"
throw new Error("[preciso] we don't support ");
throw new Error("[preciso] we don't support fractional exponents");
}
}

Expand Down

0 comments on commit 8ce65c6

Please sign in to comment.