2 ms·
Sane defaults shouldn't hard at all. Just like in Python you have to do Decimal('1.0') now, we could just as well have to do Float(1.0) to override the default.
by lucian1900 15y ago
Sane defaults shouldn't hard at all. Just like in Python you have to do Decimal('1.0') now, we could just as well have to do Float(1.0) to override the default.
Clojure has with-precision [1] and Common Lisp has defaulted to fixed point, fractions and explicit ^float type annotations.
[1] http://clojuredocs.org/clojure_core/clojure.core/with-precision http://clojuredocs.org/clojure_core/clojure.core/with-precis...