(re: why then...) P.S. I mean in more general context of how double contagion is handled in most languages. Clojure 1.3 alphas auto-promote floats to doubles in almost every case eg. exception: (type (float 1.0))
On Monday, May 23, 2011 4:16:48 PM UTC-7, pmbauer wrote: > > If you add an inexact number and an exact number, the only thing that >> makes sense is to return something that is inexact. > > > So why then are double's contagious when mixing double and float values in > a calculation? > Doubles and floats are both inexact, but floats are at least less exact > than doubles. > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en