1. BigInteger操作大整数
//构造方法
public BigInteger (String str);
//四则
public BigInteger add
public BigInteger subtract
public BigInteger multiply
public BigInteger divide
public BigInteger max
public BigInteger min
public BigInteger [] divideAndRemainder
2.BigDecimal操作小数,并可以指定保留的位数。
//构造
public BigDecimal (double dou)
public BigDecimal (int num)
public BigDecimal (String str);
//四则