Merge pull request #26544 from somdoron/master

Bigi: Return type of bigi.compareTo is wrong
This commit is contained in:
Nathan Shively-Sanders
2018-06-20 14:00:44 -07:00
committed by GitHub
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -14,3 +14,6 @@ const b6 = b4.multiply(b5);
console.log(b6);
// => BigInteger { '0': 420, '1': 0, t: 1, s: 0 }
console.log(b1.compareTo(b2));
// => 70
+1 -1
View File
@@ -23,7 +23,7 @@ declare class bigi {
clamp(): void;
clearBit(n: number): bigi;
clone(): bigi;
compareTo(a: bigi): bigi;
compareTo(a: bigi): number;
copyTo(r: any): void;
dAddOffset(n: any, w: any): void;
dMultiply(n: number): void;