How to use extended precision arithmetic to handle bigger factorials?
如何使用扩展精度运算处理更大的阶乘?
It varies from decimal in that precision decimal Numbers carry not only a numeric value but also an arithmetic precision that is retained.
它与decimal不同,因为精度十进制数不仅包含一个数字值,而且保留了一个算法精度。
BigDecimal is a standard class, with no special support in the compiler, to represent arbitrary-precision decimal Numbers and perform arithmetic on them.
BigDecimal是标准的类,在编译器中不需要特殊支持,它可以表示任意精度的小数,并对它们进行计算。
应用推荐