commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Something Something <mailinglist...@gmail.com>
Subject Why not BigDecimal?
Date Fri, 12 Feb 2010 05:29:07 GMT
Apache Commons-Math seems like an excellent library, but what I don't
understand is why we are using 'double' everywhere instead of BigDecimal.

I wrote a simple program to run a Multiple Regression Analysis followed by
Rank, and compared my results to those from R stats package and because of
lack of precision the 'ranks' are way off.  I mean I am assuming that if we
had used BigDecimal the ranks would have matched to the ones from R.

Is there something I am missing?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message