Hi,

On Wednesday, September 7, 2011 3:02:00 PM UTC+2, Meikel Brandmeyer 
(kotarak) wrote:
>
> Hi,
>
> Am Mittwoch, 7. September 2011 14:05:57 UTC+2 schrieb Stefan Kamphausen:
>>
>> the explanation why speed is the default and not safety (if I may 
>> summarize the direction 1.3 took like that)
>>
>
> In which way is 1.3 less safe than 1.2?
>

well, first of all my current checkout does not compile ;-)

Aren't the mathematic function supposed to not automatically promote 
anymore?

I can see it with *:

In 1.2.1:
user=> (* 1000000000000000000 1000000000000000000)
1000000000000000000000000000000000000

in 1.3.0 (MASTER a few days ago)
user=> (* 1000000000000000000 1000000000000000000)
ArithmeticException integer overflow  clojure.lang.Numbers.throwIntOverflow 
(Numbers.java:1374)

Yes, I understand that this is a rare/corner case and that the overall gain 
may be worth it.  And I only followed that long discussion without really 
trying it out for myself.

Cheers,
Stefan

-- 
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

Reply via email to