diff options
Diffstat (limited to 'src/gleam_stdlib.mjs')
-rw-r--r-- | src/gleam_stdlib.mjs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gleam_stdlib.mjs b/src/gleam_stdlib.mjs index 35c31c4..dac8d58 100644 --- a/src/gleam_stdlib.mjs +++ b/src/gleam_stdlib.mjs @@ -247,8 +247,8 @@ export function truncate(float) { export function power(base, exponent) { // It is checked in Gleam that: // - The base is non-negative and that the exponent is not fractional. - // - The base is not zero and the exponent is not negative (otherwise - // the result will essentially be divion by zero). + // - The base is non-zero and the exponent is non-negative (otherwise + // the result will essentially be division by zero). // It can thus be assumed that valid input is passed to the Math.pow // function and a NaN or Infinity value will not be produced. return Math.pow(base, exponent) |