When I run the repl from leiningen (v2.0.0-preview6) I get the
Infinity exception.  But when I run the repl straight from the
clojure.jar it works without error.

java -jar ~/.m2/repository/org/clojure/clojure/1.4.0/clojure-1.4.0.jar

AJ

On Tue, Jun 26, 2012 at 11:25 AM, Armando Blancas <abm221...@gmail.com> wrote:
> I don't get the exception on 1.4.0:
>
> ~ $ clj
> Clojure 1.4.0
> user=> 1e309
> Infinity
> user=>
>
>
> On Monday, June 25, 2012 11:09:14 PM UTC-7, Sean Corfield wrote:
>>
>> On Mon, Jun 25, 2012 at 10:30 PM, dennis zhuang <killme2...@gmail.com>
>> wrote:
>> > Added a postfix "M" to make the number as BigDecimal or "N" as a
>> > BigInteger:
>>
>> Yes...
>>
>> user=> 1e309M
>> 1E+309M
>>
>> The "Infinity" exception seems wrong but clearly using BigDecimal makes it
>> work.
>> --
>> Sean A Corfield -- (904) 302-SEAN
>> An Architect's View -- http://corfield.org/
>> World Singles, LLC. -- http://worldsingles.com/
>>
>> "Perfection is the enemy of the good."
>> -- Gustave Flaubert, French realist novelist (1821-1880)
>
> --
> 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

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