On Tue, Oct 18, 2011 at 3:47 PM, Tassilo Horn tass...@member.fsf.org wrote:
Scott Hickey jscotthic...@gmail.com writes:
And usually, you should refrain from using floating points at all, no
matter if BigDecimal or Double.
I thought BigDecimal with was not a floating point in the traditional
On Thu, Oct 20, 2011 at 11:17, Joel Gluth joel.gl...@gmail.com wrote:
On Tue, Oct 18, 2011 at 3:47 PM, Tassilo Horn tass...@member.fsf.org wrote:
Scott Hickey jscotthic...@gmail.com writes:
And usually, you should refrain from using floating points at all, no
matter if BigDecimal or Double.
Joel Gluth joel.gl...@gmail.com writes:
And usually, you should refrain from using floating points at all, no
matter if BigDecimal or Double.
I thought BigDecimal with was not a floating point in the traditional
sense (ie., subject to all of the usual rounding horror, unless you
ask it to
Thank for the replies and I appreciate the suggestions, however they some of
the rationale behind them doesn't match well my experience.
First, BigDecimal is plenty fast the large business systems I've worked on.
Actually, it has been plenty fast for every large business system I've
worked on.
Scott: no, there is no way to configure the reader to default numbers with
a decimal point to be BigDecimal instead of Double
Correct. But you can modify the Reader: it's just Java code.
-S
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to
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
Reading a double implies that somebody upstream of you was using doubles, which
violates the
On Thu, Oct 20, 2011 at 22:50, Stuart Halloway
stuart.hallo...@gmail.com wrote:
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
Reading a double
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
Reading a double implies that somebody upstream of you was using doubles,
which violates the
On Thu, Oct 20, 2011 at 23:16, Stuart Halloway
stuart.hallo...@gmail.com wrote:
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
Reading a double
I'm looking to avoid qualifying every number that has a decimal point with
an M. For the business applications I've built over the last 25 years
(credit card processing, healthcare claims, loans,etc.), there's never been
a situation where inexact numbers were appropriate.
That's why I was
Scott Hickey jscotthic...@gmail.com writes:
Hi Scott,
I'm looking to avoid qualifying every number that has a decimal point
with an M. For the business applications I've built over the last 25
years (credit card processing, healthcare claims, loans,etc.), there's
never been a situation where
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
Hi,
you are looking for 1.3M?
Sincerely
Meikel
--
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
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 moderated - please be
Hi,
I meant this:
Clojure 1.2.0
user= (type 1.0M)
java.math.BigDecimal
Sincerely
Meikel
--
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 -
15 matches
Mail list logo