diff --git a/dist/long.js b/dist/long.js index e9c22c3..d0ee7a1 100644 --- a/dist/long.js +++ b/dist/long.js @@ -201,7 +201,7 @@ */ Long.fromString = function fromString(str, unsigned, radix) { if (str.length === 0) - throw Error('number format error: empty string'); + throw Error('string is empty'); if (str === "NaN" || str === "Infinity" || str === "+Infinity" || str === "-Infinity") return Long.ZERO; if (typeof unsigned === 'number') // For goog.math.long compatibility @@ -209,11 +209,11 @@ unsigned = false; radix = radix || 10; if (radix < 2 || 36 < radix) - throw Error('radix out of range: ' + radix); + throw Error('radix out of range'); var p; if ((p = str.indexOf('-')) > 0) - throw Error('number format error: interior "-" character: ' + str); + throw Error('interior hyphen'); else if (p === 0) return Long.fromString(str.substring(1), unsigned, radix).neg(); @@ -393,7 +393,7 @@ LongPrototype.toString = function toString(radix) { radix = radix || 10; if (radix < 2 || 36 < radix) - throw RangeError('radix out of range: ' + radix); + throw RangeError('radix out of range'); if (this.isZero()) return '0'; var rem; diff --git a/dist/long.min.js b/dist/long.min.js index dd04dc6..ab1d64d 100644 --- a/dist/long.min.js +++ b/dist/long.min.js @@ -4,18 +4,18 @@ see: https://github.com/dcodeIO/long.js for details */ (function(c,l){"function"===typeof define&&define.amd?define([],l):"function"===typeof require&&"object"===typeof module&&module&&module.exports?module.exports=l():(c.dcodeIO=c.dcodeIO||{}).Long=l()})(this,function(){function c(a,c,b){this.low=a|0;this.high=c|0;this.unsigned=!!b}Object.defineProperty(c.prototype,"__isLong__",{value:!0,enumerable:!1,configurable:!1});c.isLong=function(a){return!0===(a&&a.__isLong__)};var l={},q={};c.fromInt=function(a,b){var d,e;if(b){a>>>=0;if(e=0<=a&&256>a)if(d= -q[a])return d;d=new c(a,0>(a|0)?-1:0,!0);e&&(q[a]=d)}else{a|=0;if(e=-128<=a&&128>a)if(d=l[a])return d;d=new c(a,0>a?-1:0,!1);e&&(l[a]=d)}return d};c.fromNumber=function(a,b){b=!!b;return isNaN(a)||!isFinite(a)?c.ZERO:!b&&a<=-r?c.MIN_VALUE:!b&&a+1>=r?c.MAX_VALUE:b&&a>=s?c.MAX_UNSIGNED_VALUE:0>a?c.fromNumber(-a,b).neg():new c(a%4294967296|0,a/4294967296|0,b)};c.fromBits=function(a,b,d){return new c(a,b,d)};c.fromString=function(a,b,d){if(0===a.length)throw Error("number format error: empty string"); -if("NaN"===a||"Infinity"===a||"+Infinity"===a||"-Infinity"===a)return c.ZERO;"number"===typeof b&&(d=b,b=!1);d=d||10;if(2>d||36k?(k=c.fromNumber(Math.pow(d,k)),f=f.mul(k).add(c.fromNumber(m))): -(f=f.mul(e),f=f.add(c.fromNumber(m)))}f.unsigned=b;return f};c.fromValue=function(a){return a instanceof c?a:"number"===typeof a?c.fromNumber(a):"string"===typeof a?c.fromString(a):new c(a.low,a.high,a.unsigned)};var s=4294967296*4294967296,r=s/2,t=c.fromInt(16777216);c.ZERO=c.fromInt(0);c.UZERO=c.fromInt(0,!0);c.ONE=c.fromInt(1);c.UONE=c.fromInt(1,!0);c.NEG_ONE=c.fromInt(-1);c.MAX_VALUE=new c(-1,2147483647,!1);c.MAX_UNSIGNED_VALUE=new c(-1,-1,!0);c.MIN_VALUE=new c(0,-2147483648,!1);var b=c.prototype; -b.toInt=function(){return this.unsigned?this.low>>>0:this.low};b.toNumber=function(){return this.unsigned?4294967296*(this.high>>>0)+(this.low>>>0):4294967296*this.high+(this.low>>>0)};b.toString=function(a){a=a||10;if(2>a||36>>0).toString(a);b=f;if(b.isZero())return g+e;for(;6>g.length;)g="0"+g;e=""+g+e}};b.getHighBits=function(){return this.high};b.getHighBitsUnsigned=function(){return this.high>>>0};b.getLowBits=function(){return this.low};b.getLowBitsUnsigned=function(){return this.low>>>0};b.getNumBitsAbs=function(){if(this.isNegative())return this.eq(c.MIN_VALUE)?64:this.neg().getNumBitsAbs();for(var a=0!=this.high?this.high:this.low, -b=31;0this.high};b.isPositive=function(){return this.unsigned||0<=this.high};b.isOdd=function(){return 1===(this.low&1)};b.isEven=function(){return 0===(this.low&1)};b.equals=function(a){c.isLong(a)||(a=c.fromValue(a));return this.unsigned!==a.unsigned&&1===this.high>>>31&&1===a.high>>>31?!1:this.high===a.high&&this.low===a.low};b.eq=b.equals;b.notEquals= -function(a){return!this.eq(a)};b.neq=b.notEquals;b.lessThan=function(a){return 0>this.comp(a)};b.lt=b.lessThan;b.lessThanOrEqual=function(a){return 0>=this.comp(a)};b.lte=b.lessThanOrEqual;b.greaterThan=function(a){return 0>> -0>this.high>>>0||a.high===this.high&&a.low>>>0>this.low>>>0?-1:1:this.sub(a).isNegative()?-1:1};b.comp=b.compare;b.negate=function(){return!this.unsigned&&this.eq(c.MIN_VALUE)?c.MIN_VALUE:this.not().add(c.ONE)};b.neg=b.negate;b.add=function(a){c.isLong(a)||(a=c.fromValue(a));var b=this.high>>>16,d=this.high&65535,e=this.low>>>16,f=a.high>>>16,g=a.high&65535,k=a.low>>>16,m;m=0+((this.low&65535)+(a.low&65535));a=0+(m>>>16);a+=e+k;e=0+(a>>>16);e+=d+g;d=0+(e>>>16);d=d+(b+f)&65535;return new c((a&65535)<< -16|m&65535,d<<16|e&65535,this.unsigned)};b.subtract=function(a){c.isLong(a)||(a=c.fromValue(a));return this.add(a.neg())};b.sub=b.subtract;b.multiply=function(a){if(this.isZero())return c.ZERO;c.isLong(a)||(a=c.fromValue(a));if(a.isZero())return c.ZERO;if(this.eq(c.MIN_VALUE))return a.isOdd()?c.MIN_VALUE:c.ZERO;if(a.eq(c.MIN_VALUE))return this.isOdd()?c.MIN_VALUE:c.ZERO;if(this.isNegative())return a.isNegative()?this.neg().mul(a.neg()):this.neg().mul(a).neg();if(a.isNegative())return this.mul(a.neg()).neg(); -if(this.lt(t)&&a.lt(t))return c.fromNumber(this.toNumber()*a.toNumber(),this.unsigned);var b=this.high>>>16,d=this.high&65535,e=this.low>>>16,f=this.low&65535,g=a.high>>>16,k=a.high&65535,m=a.low>>>16;a=a.low&65535;var p,h,n,l;l=0+f*a;n=0+(l>>>16);n+=e*a;h=0+(n>>>16);n=(n&65535)+f*m;h+=n>>>16;n&=65535;h+=d*a;p=0+(h>>>16);h=(h&65535)+e*m;p+=h>>>16;h&=65535;h+=f*k;p+=h>>>16;h&=65535;p=p+(b*a+d*m+e*k+f*g)&65535;return new c(n<<16|l&65535,p<<16|h,this.unsigned)};b.mul=b.multiply;b.divide=function(a){c.isLong(a)|| -(a=c.fromValue(a));if(a.isZero())throw Error("division by zero");if(this.isZero())return this.unsigned?c.UZERO:c.ZERO;var b,d,e;if(this.eq(c.MIN_VALUE)){if(a.eq(c.ONE)||a.eq(c.NEG_ONE))return c.MIN_VALUE;if(a.eq(c.MIN_VALUE))return c.ONE;b=this.shr(1).div(a).shl(1);if(b.eq(c.ZERO))return a.isNegative()?c.ONE:c.NEG_ONE;d=this.sub(a.mul(b));return e=b.add(d.div(a))}if(a.eq(c.MIN_VALUE))return this.unsigned?c.UZERO:c.ZERO;if(this.isNegative())return a.isNegative()?this.neg().div(a.neg()):this.neg().div(a).neg(); -if(a.isNegative())return this.div(a.neg()).neg();e=c.ZERO;for(d=this;d.gte(a);){b=Math.max(1,Math.floor(d.toNumber()/a.toNumber()));for(var f=Math.ceil(Math.log(b)/Math.LN2),f=48>=f?1:Math.pow(2,f-48),g=c.fromNumber(b),k=g.mul(a);k.isNegative()||k.gt(d);)b-=f,g=c.fromNumber(b,this.unsigned),k=g.mul(a);g.isZero()&&(g=c.ONE);e=e.add(g);d=d.sub(k)}return e};b.div=b.divide;b.modulo=function(a){c.isLong(a)||(a=c.fromValue(a));return this.sub(this.div(a).mul(a))};b.mod=b.modulo;b.not=function(){return new c(~this.low, -~this.high,this.unsigned)};b.and=function(a){c.isLong(a)||(a=c.fromValue(a));return new c(this.low&a.low,this.high&a.high,this.unsigned)};b.or=function(a){c.isLong(a)||(a=c.fromValue(a));return new c(this.low|a.low,this.high|a.high,this.unsigned)};b.xor=function(a){c.isLong(a)||(a=c.fromValue(a));return new c(this.low^a.low,this.high^a.high,this.unsigned)};b.shiftLeft=function(a){c.isLong(a)&&(a=a.toInt());return 0===(a&=63)?this:32>a?new c(this.low<>>32-a,this.unsigned): -new c(0,this.low<a?new c(this.low>>>a|this.high<<32-a,this.high>>a,this.unsigned):new c(this.high>>a-32,0<=this.high?0:-1,this.unsigned)};b.shr=b.shiftRight;b.shiftRightUnsigned=function(a){c.isLong(a)&&(a=a.toInt());a&=63;if(0===a)return this;var b=this.high;return 32>a?new c(this.low>>>a|b<<32-a,b>>>a,this.unsigned):32===a?new c(b,0,this.unsigned):new c(b>>>a-32,0,this.unsigned)}; -b.shru=b.shiftRightUnsigned;b.toSigned=function(){return this.unsigned?new c(this.low,this.high,!1):this};b.toUnsigned=function(){return this.unsigned?this:new c(this.low,this.high,!0)};return c}); +q[a])return d;d=new c(a,0>(a|0)?-1:0,!0);e&&(q[a]=d)}else{a|=0;if(e=-128<=a&&128>a)if(d=l[a])return d;d=new c(a,0>a?-1:0,!1);e&&(l[a]=d)}return d};c.fromNumber=function(a,b){b=!!b;return isNaN(a)||!isFinite(a)?c.ZERO:!b&&a<=-r?c.MIN_VALUE:!b&&a+1>=r?c.MAX_VALUE:b&&a>=s?c.MAX_UNSIGNED_VALUE:0>a?c.fromNumber(-a,b).neg():new c(a%4294967296|0,a/4294967296|0,b)};c.fromBits=function(a,b,d){return new c(a,b,d)};c.fromString=function(a,b,d){if(0===a.length)throw Error("string is empty");if("NaN"===a||"Infinity"=== +a||"+Infinity"===a||"-Infinity"===a)return c.ZERO;"number"===typeof b&&(d=b,b=!1);d=d||10;if(2>d||36k?(k=c.fromNumber(Math.pow(d,k)),f=f.mul(k).add(c.fromNumber(m))):(f=f.mul(e),f=f.add(c.fromNumber(m)))}f.unsigned=b; +return f};c.fromValue=function(a){return a instanceof c?a:"number"===typeof a?c.fromNumber(a):"string"===typeof a?c.fromString(a):new c(a.low,a.high,a.unsigned)};var s=4294967296*4294967296,r=s/2,t=c.fromInt(16777216);c.ZERO=c.fromInt(0);c.UZERO=c.fromInt(0,!0);c.ONE=c.fromInt(1);c.UONE=c.fromInt(1,!0);c.NEG_ONE=c.fromInt(-1);c.MAX_VALUE=new c(-1,2147483647,!1);c.MAX_UNSIGNED_VALUE=new c(-1,-1,!0);c.MIN_VALUE=new c(0,-2147483648,!1);var b=c.prototype;b.toInt=function(){return this.unsigned?this.low>>> +0:this.low};b.toNumber=function(){return this.unsigned?4294967296*(this.high>>>0)+(this.low>>>0):4294967296*this.high+(this.low>>>0)};b.toString=function(a){a=a||10;if(2>a||36>>0).toString(a);b=f;if(b.isZero())return g+e;for(;6>g.length;)g="0"+g;e=""+g+e}};b.getHighBits=function(){return this.high};b.getHighBitsUnsigned=function(){return this.high>>>0};b.getLowBits=function(){return this.low};b.getLowBitsUnsigned=function(){return this.low>>>0};b.getNumBitsAbs=function(){if(this.isNegative())return this.eq(c.MIN_VALUE)?64:this.neg().getNumBitsAbs();for(var a=0!=this.high?this.high:this.low,b=31;0this.high};b.isPositive=function(){return this.unsigned||0<=this.high};b.isOdd=function(){return 1===(this.low&1)};b.isEven=function(){return 0===(this.low&1)};b.equals=function(a){c.isLong(a)||(a=c.fromValue(a));return this.unsigned!==a.unsigned&&1===this.high>>>31&&1===a.high>>>31?!1:this.high===a.high&&this.low===a.low};b.eq=b.equals;b.notEquals=function(a){return!this.eq(a)};b.neq= +b.notEquals;b.lessThan=function(a){return 0>this.comp(a)};b.lt=b.lessThan;b.lessThanOrEqual=function(a){return 0>=this.comp(a)};b.lte=b.lessThanOrEqual;b.greaterThan=function(a){return 0>>0>this.high>>>0||a.high===this.high&& +a.low>>>0>this.low>>>0?-1:1:this.sub(a).isNegative()?-1:1};b.comp=b.compare;b.negate=function(){return!this.unsigned&&this.eq(c.MIN_VALUE)?c.MIN_VALUE:this.not().add(c.ONE)};b.neg=b.negate;b.add=function(a){c.isLong(a)||(a=c.fromValue(a));var b=this.high>>>16,d=this.high&65535,e=this.low>>>16,f=a.high>>>16,g=a.high&65535,k=a.low>>>16,m;m=0+((this.low&65535)+(a.low&65535));a=0+(m>>>16);a+=e+k;e=0+(a>>>16);e+=d+g;d=0+(e>>>16);d=d+(b+f)&65535;return new c((a&65535)<<16|m&65535,d<<16|e&65535,this.unsigned)}; +b.subtract=function(a){c.isLong(a)||(a=c.fromValue(a));return this.add(a.neg())};b.sub=b.subtract;b.multiply=function(a){if(this.isZero())return c.ZERO;c.isLong(a)||(a=c.fromValue(a));if(a.isZero())return c.ZERO;if(this.eq(c.MIN_VALUE))return a.isOdd()?c.MIN_VALUE:c.ZERO;if(a.eq(c.MIN_VALUE))return this.isOdd()?c.MIN_VALUE:c.ZERO;if(this.isNegative())return a.isNegative()?this.neg().mul(a.neg()):this.neg().mul(a).neg();if(a.isNegative())return this.mul(a.neg()).neg();if(this.lt(t)&&a.lt(t))return c.fromNumber(this.toNumber()* +a.toNumber(),this.unsigned);var b=this.high>>>16,d=this.high&65535,e=this.low>>>16,f=this.low&65535,g=a.high>>>16,k=a.high&65535,m=a.low>>>16;a=a.low&65535;var p,h,n,l;l=0+f*a;n=0+(l>>>16);n+=e*a;h=0+(n>>>16);n=(n&65535)+f*m;h+=n>>>16;n&=65535;h+=d*a;p=0+(h>>>16);h=(h&65535)+e*m;p+=h>>>16;h&=65535;h+=f*k;p+=h>>>16;h&=65535;p=p+(b*a+d*m+e*k+f*g)&65535;return new c(n<<16|l&65535,p<<16|h,this.unsigned)};b.mul=b.multiply;b.divide=function(a){c.isLong(a)||(a=c.fromValue(a));if(a.isZero())throw Error("division by zero"); +if(this.isZero())return this.unsigned?c.UZERO:c.ZERO;var b,d,e;if(this.eq(c.MIN_VALUE)){if(a.eq(c.ONE)||a.eq(c.NEG_ONE))return c.MIN_VALUE;if(a.eq(c.MIN_VALUE))return c.ONE;b=this.shr(1).div(a).shl(1);if(b.eq(c.ZERO))return a.isNegative()?c.ONE:c.NEG_ONE;d=this.sub(a.mul(b));return e=b.add(d.div(a))}if(a.eq(c.MIN_VALUE))return this.unsigned?c.UZERO:c.ZERO;if(this.isNegative())return a.isNegative()?this.neg().div(a.neg()):this.neg().div(a).neg();if(a.isNegative())return this.div(a.neg()).neg();e=c.ZERO; +for(d=this;d.gte(a);){b=Math.max(1,Math.floor(d.toNumber()/a.toNumber()));for(var f=Math.ceil(Math.log(b)/Math.LN2),f=48>=f?1:Math.pow(2,f-48),g=c.fromNumber(b),k=g.mul(a);k.isNegative()||k.gt(d);)b-=f,g=c.fromNumber(b,this.unsigned),k=g.mul(a);g.isZero()&&(g=c.ONE);e=e.add(g);d=d.sub(k)}return e};b.div=b.divide;b.modulo=function(a){c.isLong(a)||(a=c.fromValue(a));return this.sub(this.div(a).mul(a))};b.mod=b.modulo;b.not=function(){return new c(~this.low,~this.high,this.unsigned)};b.and=function(a){c.isLong(a)|| +(a=c.fromValue(a));return new c(this.low&a.low,this.high&a.high,this.unsigned)};b.or=function(a){c.isLong(a)||(a=c.fromValue(a));return new c(this.low|a.low,this.high|a.high,this.unsigned)};b.xor=function(a){c.isLong(a)||(a=c.fromValue(a));return new c(this.low^a.low,this.high^a.high,this.unsigned)};b.shiftLeft=function(a){c.isLong(a)&&(a=a.toInt());return 0===(a&=63)?this:32>a?new c(this.low<>>32-a,this.unsigned):new c(0,this.low<a?new c(this.low>>>a|this.high<<32-a,this.high>>a,this.unsigned):new c(this.high>>a-32,0<=this.high?0:-1,this.unsigned)};b.shr=b.shiftRight;b.shiftRightUnsigned=function(a){c.isLong(a)&&(a=a.toInt());a&=63;if(0===a)return this;var b=this.high;return 32>a?new c(this.low>>>a|b<<32-a,b>>>a,this.unsigned):32===a?new c(b,0,this.unsigned):new c(b>>>a-32,0,this.unsigned)};b.shru=b.shiftRightUnsigned;b.toSigned=function(){return this.unsigned? +new c(this.low,this.high,!1):this};b.toUnsigned=function(){return this.unsigned?this:new c(this.low,this.high,!0)};return c}); diff --git a/dist/long.min.js.gz b/dist/long.min.js.gz index 0ec6303..e2edfa2 100644 Binary files a/dist/long.min.js.gz and b/dist/long.min.js.gz differ diff --git a/dist/long.min.map b/dist/long.min.map index 18e180d..6793181 100644 ---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AAAqH,SAAA,CAAyBC,QAAiB,EAAG,CACzC,MAAK,KAAAnL,SAAL;AAEO,IAAIH,CAAJ,CAAS,IAAAC,IAAT,CAAmB,IAAAC,KAAnB,CAA8B,CAAA,CAA9B,CAFP,CACW,IAF8B,CAW7C8D,EAAAuH,WAAA,CAA2BC,QAAmB,EAAG,CAC7C,MAAI,KAAArL,SAAJ,CACW,IADX,CAEO,IAAIH,CAAJ,CAAS,IAAAC,IAAT,CAAmB,IAAAC,KAAnB,CAA8B,CAAA,CAA9B,CAHsC,CAMjD,OAAOF,EAtiCS,CATpB;", "sources":["dist/long.js"], "names":["global","factory","define","require","module","Long","low","high","unsigned","Object","defineProperty","prototype","value","enumerable","configurable","isLong","Long.isLong","obj","INT_CACHE","UINT_CACHE","fromInt","Long.fromInt","cache","cachedObj","fromNumber","Long.fromNumber","isNaN","isFinite","ZERO","TWO_PWR_63_DBL","MIN_VALUE","MAX_VALUE","TWO_PWR_64_DBL","MAX_UNSIGNED_VALUE","neg","TWO_PWR_32_DBL","fromBits","Long.fromBits","lowBits","highBits","fromString","Long.fromString","str","radix","length","Error","p","indexOf","substring","radixToPower","Math","pow","result","i","size","min","parseInt","power","mul","add","fromValue","Long.fromValue","val","TWO_PWR_24","TWO_PWR_24_DBL","UZERO","ONE","UONE","NEG_ONE","LongPrototype","toInt","LongPrototype.toInt","toNumber","LongPrototype.toNumber","toString","LongPrototype.toString","RangeError","isZero","rem","isNegative","eq","radixLong","div","sub","remDiv","digits","getHighBits","LongPrototype.getHighBits","getHighBitsUnsigned","LongPrototype.getHighBitsUnsigned","getLowBits","LongPrototype.getLowBits","getLowBitsUnsigned","LongPrototype.getLowBitsUnsigned","getNumBitsAbs","LongPrototype.getNumBitsAbs","bit","LongPrototype.isZero","LongPrototype.isNegative","isPositive","LongPrototype.isPositive","isOdd","LongPrototype.isOdd","isEven","LongPrototype.isEven","equals","LongPrototype.equals","other","notEquals","LongPrototype.notEquals","neq","lessThan","LongPrototype.lessThan","comp","lt","lessThanOrEqual","LongPrototype.lessThanOrEqual","lte","greaterThan","LongPrototype.greaterThan","gt","greaterThanOrEqual","LongPrototype.greaterThanOrEqual","gte","compare","LongPrototype.compare","thisNeg","otherNeg","negate","LongPrototype.negate","not","LongPrototype.add","addend","a48","a32","a16","b48","b32","b16","c00","c16","c32","c48","subtract","LongPrototype.subtract","subtrahend","multiply","LongPrototype.multiply","multiplier","a00","b00","divide","LongPrototype.divide","divisor","approx","res","shr","halfThis","shl","max","floor","log2","ceil","log","LN2","delta","approxRes","approxRem","modulo","LongPrototype.modulo","mod","LongPrototype.not","and","LongPrototype.and","or","LongPrototype.or","xor","LongPrototype.xor","shiftLeft","LongPrototype.shiftLeft","numBits","shiftRight","LongPrototype.shiftRight","shiftRightUnsigned","LongPrototype.shiftRightUnsigned","shru","toSigned","LongPrototype.toSigned","toUnsigned","LongPrototype.toUnsigned"] } diff --git a/src/long.js b/src/long.js index 7d892bf..ac4249d 100644 --- a/src/long.js +++ b/src/long.js @@ -167,7 +167,7 @@ Long.fromBits = function fromBits(lowBits, highBits, unsigned) { */ Long.fromString = function fromString(str, unsigned, radix) { if (str.length === 0) - throw Error('number format error: empty string'); + throw Error('string is empty'); if (str === "NaN" || str === "Infinity" || str === "+Infinity" || str === "-Infinity") return Long.ZERO; if (typeof unsigned === 'number') // For goog.math.long compatibility @@ -175,11 +175,11 @@ Long.fromString = function fromString(str, unsigned, radix) { unsigned = false; radix = radix || 10; if (radix < 2 || 36 < radix) - throw Error('radix out of range: ' + radix); + throw Error('radix out of range'); var p; if ((p = str.indexOf('-')) > 0) - throw Error('number format error: interior "-" character: ' + str); + throw Error('interior hyphen'); else if (p === 0) return Long.fromString(str.substring(1), unsigned, radix).neg(); @@ -359,7 +359,7 @@ LongPrototype.toNumber = function toNumber() { LongPrototype.toString = function toString(radix) { radix = radix || 10; if (radix < 2 || 36 < radix) - throw RangeError('radix out of range: ' + radix); + throw RangeError('radix out of range'); if (this.isZero()) return '0'; var rem;