示例#1
0
 public BigNumber modPow(BigNumber val1, BigNumber val2) {
   return new BigNumber(bigInteger.modPow(val1.getInt(), val2.getInt()));
 }
示例#2
0
 public BigNumber add(BigNumber val) {
   return new BigNumber(bigInteger.add(val.getInt()));
 }
示例#3
0
 public BigNumber multiply(BigNumber val) {
   return new BigNumber(bigInteger.multiply(val.getInt()));
 }
示例#4
0
 public BigNumber remainder(BigNumber val) {
   return new BigNumber(bigInteger.remainder(val.getInt()));
 }
示例#5
0
 public boolean equals(BigNumber b) {
   return (b.toHexString().equals(this.toHexString()));
 }