1.BigInterger add(BigInteger other)
2.BigInterger subtract(BigInteger other)
3..BigInterger multiply(BigInteger other)
4..BigInterger divide(BigInteger other)
5..BigInterger mod(BigInteger other)    返回这个大整数和另一个大整数other的和,差,积,商以及余数.
6.int compareTo(BigInteger other)   如果这个大整数与另一个大整数other相等,返回0;如果这个大整数小于另一个大整数other,返回负数;否则,返回正数
7.static BigInteger valueOf(long x)   返回值等于x的大整数
8.BigDecimal add(BigDecimal  other)
9.BigDecimal  subtract(BigDecimal  other)
10.BigDecimal  multiply(BigDecimal  other)
11.BigDecimal  divide(BigDecimal other RoundingMode mode) 5.0   返回这个大实数与另一个大实数other的和,差,积,商.要想计算商,必须给出舍入方式(rounding mode). RoundingMode.HALF_UP是在学校中学习的四舍五入方式(即,数值0到4舍去,数值5到9进位).它适用于常规的计算
12.int compareTo(BigDecimal other)   如果这个大整数与另一个大整数other相等,返回0;如果这个大整数小于另一个大整数other,返回负数;否则,返回正数
13.static BigDecimal valueOf(long x)   返回值等于x的大整数
14.static BigDecimal valueOf(long x,int scale)    返回值为x或x/10scale的一个大实数