ng as possible. It may not
make sense to those of us trying new languages on the JVM but it is a reality
that is out there.
Scott Hickey
Senior Consultant
Object Partners, Inc.
From: Rich Hickey
To: Clojure
Sent: Wednesday, April 8, 2009 7:31:19 PM
Subject: Re: J
In some versions of Scheme or Lisp, there is a flag that you can set so that
the reader will create exact numbers by default (BigDecimal) instead of
inexact doubles.
Is there a way to do this in Clojure?
Scott Hickey
--
You received this message because you are subscribed to the Google
I've been using 1.2 but I would be OK with a solution in any version.
Scott Hickey
--
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 mod
riate.
That's why I was hoping for a global default for reading decimal numbers as
BigDecimal instead of IEEE floats or doubles.
Scott Hickey
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to cloju
ed out very well for balancing the needs of accuracy, speed and code
complexity.
It appears that the answer to the original question is "no, there is no way
to configure the reader to default numbers with a decimal point to be
BigDecimal instead of Double".
Scott Hickey
--
You received
It should work. Before I had a debugging working in Eclipse with Groovy, I used
JSwat, JEdit and Ant for project work with success.
Scott Hickey
Senior Consultant
Object Partners, Inc.
- Original Message
From: Bill Clementson <[EMAIL PROTECTED]>
To: clojure@googlegroups.co