public static void main(String[] args) {
BigDecimal lll = new BigDecimal("9999999999999999999999999999");
System.out.println(Long.MAX_VALUE);
System.out.println(BigDecimal.valueOf(2).pow(63));
System.out.println(Integer.MAX_VALUE);
System.out.println(BigDecimal.valueOf(2).pow(31));
System.out.println(lll);
}
9223372036854775807
9223372036854775808
2147483647
2147483648
9999999999999999999999999999
网友评论