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

Reply via email to