2020-09-06 release

This commit is contained in:
bellard
2020-09-06 19:10:15 +02:00
parent 8900766099
commit 7c312df422
26 changed files with 912 additions and 476 deletions

View File

@@ -1826,7 +1826,7 @@ var Integer, Float, Fraction, Complex, Mod, Polynomial, PolyMod, RationalFunctio
j = emin + i;
if (j == -1) {
if (a[i] != 0)
throw RangError("cannot represent integ(1/X)");
throw RangeError("cannot represent integ(1/X)");
} else {
r[i] = a[i] / (j + 1);
}
@@ -1853,7 +1853,7 @@ var Integer, Float, Fraction, Complex, Mod, Polynomial, PolyMod, RationalFunctio
log() {
var a = this, r;
if (a.emin != 0)
throw Range("log argument must have a non zero constant term");
throw RangeError("log argument must have a non zero constant term");
r = integ(deriv(a) / a);
/* add the constant term */
r += global.log(a[0]);