Fork me on GitHub
#cljs-dev
<
2017-05-25
>
mfikes22:05:34

(quot 12.3 3.37) is 3.0 in Clojure, but 2 in ClojureScript. Is it still an open question as to making rem, quot, and mod work quickly and accurately in ClojureScript for non-integer arguments, or has this ground been covered and deemed intractable?

mfikes22:05:55

Thanks @favila . I completely forgot about looking for JIRAs.

favila22:05:16

yeah I remembered looking at quot and rem at some point

favila22:05:27

clojure's is not so great for doubles either

favila22:05:02

I think those two patches, if accepted, would make CLJ and CLJS act the same

favila22:05:06

for quot with doubles

favila22:05:08

the CLJ one was triaged in march 2015 (Clojure 1.7 days?) and promptly forgotten