Clojure 默认使用有限精度的浮点数,类型为 Double : ... BigDecimal. 无限精度浮点数的类型为 BigDecimal 。 ... user=> (class (/ 1 3)) clojure.lang.Ratio.
確定! 回上一頁