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-1127) 2.0 equal to -2.0
Date Fri, 13 Jun 2014 14:22:02 GMT

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

Luc Maisonobe resolved MATH-1127.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 3.4

Fixed in subversion repository as of r1602438.

This was a fun one!

> 2.0 equal to -2.0
> -----------------
>
>                 Key: MATH-1127
>                 URL: https://issues.apache.org/jira/browse/MATH-1127
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 3.3
>         Environment: Linux, Java 5
>            Reporter: Luc Maisonobe
>             Fix For: 3.4
>
>
> The following test fails:
> {code}
>     @Test
>     public void testMath1127() {
>         Assert.assertFalse(Precision.equals(2.0, -2.0, 1));
>     }
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message