You could use the *' operator which supports arbitrary precision by automatically promoting the result to BigInt in case it would overflow:(reduce *' (range 1 1001)) 这篇关于Clojure - 用大数字计算的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
05-16 22:09