commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luc Maisonobe (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (MATH-412) Add high precision decimal floating point library (dfp)
Date Sat, 04 Sep 2010 23:03:33 GMT

     [ https://issues.apache.org/jira/browse/MATH-412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Luc Maisonobe resolved MATH-412.
--------------------------------

    Resolution: Fixed

Fixed in subversion tree as of r992696 for branch 2.X and as of r992697 for trunk.

The Dfp class represent the high precision numbers, it implements our existing Field interface
and hence each instance is associated with a DfpField that provides the constants at the required
precision as well as factory methods. This allowed to remove the compile-time constraint in
the library. Users can even use at the same time a field for 20 decimals digits precision
and another field for 100 digits precision. Dfp instances with different precision CANNOT
be mixed in the same computation (doing so creates a NaN).

A few utility methods have been added, like constructors from integral types, isInfinite and
isNaN methods, equal has been renamed to equals and its signature changed to match the general
Object method (a hashcode method has been added too).

Thank you very much for this contribution.

> Add high precision decimal floating point library (dfp)
> -------------------------------------------------------
>
>                 Key: MATH-412
>                 URL: https://issues.apache.org/jira/browse/MATH-412
>             Project: Commons Math
>          Issue Type: New Feature
>    Affects Versions: 2.1
>         Environment: JDK1.4 - JDK1.6
>            Reporter: William Rossi
>            Assignee: Luc Maisonobe
>             Fix For: 2.2
>
>
> I am offering the dfp library available at http://sourceforge.net/projects/dfp/ to the
project.  I've dual licensed the project under ASF and LGPL.   I will submit a software grant
shortly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message