Re: Language feature request: auto-promote int to long with unchecked-divide

2009-11-04 Thread MarkSwanson
> > but you can certainly send them the result of (quot 1257316459070 1000). Wohoo!!! I just wanted a way to do it! Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send

Re: Language feature request: auto-promote int to long with unchecked-divide

2009-11-04 Thread John Harrop
Aren't functions like unchecked-divide supposed to be used for extra speed in performance-critical areas? If unchecked-divide is a multimethod, that kind of defeats the purpose though doesn't it? --~--~-~--~~~---~--~~ You received this message because you are subscr

Re: Language feature request: auto-promote int to long with unchecked-divide

2009-11-04 Thread Christophe Grand
Hi, On Wed, Nov 4, 2009 at 8:46 AM, MarkSwanson wrote: > I can't send these systems fractions either :-)  (/ 1257316459070 > 1000) = 125731645907/100 but you can certainly send them the result of (quot 1257316459070 1000). Christophe -- Professional: http://cgrand.net/ (fr) On Clojure: http:

Language feature request: auto-promote int to long with unchecked-divide

2009-11-03 Thread MarkSwanson
Hello, This should work (I think): (unchecked-divide 1257316459070 1000) http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---