[ 
https://issues.apache.org/jira/browse/MATH-1490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16867875#comment-16867875
 ] 

Virendra Singh edited comment on MATH-1490 at 6/19/19 6:06 PM:
---------------------------------------------------------------

The Test case given by you in *#MATH-1491* can be resolved  using delta value 
*1e-15* but, it is not working in this case!

This is the error I found:

{color:#ff0000}_java.lang.AssertionError: expected:<68.95> but 
was:<68.94999999999999>_{color}

{color:#333333}*1e-14* should work in this case, but it's not working. While 
*1e-13* is working{color}


was (Author: virendrasinghrp):
The Test case given by you in *#MATH-1491* can be resolved * *using delta value 
*1e-15* but, it is not working in this case!

This is the error I found:

{color:#ff0000}_java.lang.AssertionError: expected:<68.95> but 
was:<68.94999999999999>_{color}

{color:#333333}*1e-14* should work in this case, but it's not working. While 
*1e-13* is working{color}

> Percentile computational accuracy issue
> ---------------------------------------
>
>                 Key: MATH-1490
>                 URL: https://issues.apache.org/jira/browse/MATH-1490
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 3.4, 3.4.1, 3.5, 3.6, 3.6.1
>         Environment: System: Linux testinglab 4.4.0-131-generic 
> #157~14.04.1-Ubuntu
> Java version "1.8.0_191"
> Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
> Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)
>  
>  
>            Reporter: Lingchao Chen
>            Priority: Major
>              Labels: performance
>         Attachments: BugDemo.java
>
>
> The percentile method works well on the older versions, e.g., the version 
> before 3.4. However, when I update commons-math to the newer version, there 
> produces a computational accuracy issue. There is a backward compatibility 
> bug behind it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to