bugGNU Octave - Bugs: bug #34942, Test fail in quadl (MinGW)

 
 

bug #34942: Test fail in quadl (MinGW)

Submitter:  Tatsuro MATSUOKA <tmacchant>
Submitted:  Wed 30 Nov 2011 04:40:30 AM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Inaccurate Result
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 19 Dec 2011 05:19:17 AM UTC, comment #2: 

I relaxed the tolerance to -1.1e-15 (http://hg.savannah.gnu.org/hgweb/octave/rev/6eeb9e8e63cf) and it should work now.  This will be part of the 3.6.0 release.

Rik <rik5>
Group administrator
Wed 30 Nov 2011 06:19:21 AM UTC, comment #1: 

This is a duplicate of bug #33863.

We could increase the tolerance to avoid the error.  On the other hand, why is it only the MinGW platform that is failing?  Is it a sign that there is something else wrong?

Rik <rik5>
Group administrator
Wed 30 Nov 2011 04:40:30 AM UTC, original submission:  

On the current development source (changeset 13960:ef96344a6e58), the test for quadl.m
  scripts\general\quadl.m ................................ PASS    4/5    FAIL 1


octave:1> test quadl
  ***** assert (quadl (@(x) sin (3*x).*cosh (x).*sinh (x),10,15),
         2.588424538641647e+10, -9e-15)
!!!!! test failed
assert (quadl (@(x) sin (3 * x) .* cosh (x) .* sinh (x), 10, 15),2.588424538641647e+10,-9e-15) expected
2.5884e+010
but got
2.5884e+010
maximum relative error 1.04636e-014 exceeds tolerance 9e-015



octave:3> format long
octave:6> (quadl (@(x) sin (3 * x) .* cosh (x) .* sinh (x), 10, 15)-2.588424538641647e+10)/2.588424538641647e+10
ans = -1.04636431086188e-014


If the relative tolerance become a little bit loose, this error will be disappeared.

I propose that the tolerance value '-9e-15' is changed to '-1.1e-14'.

Tatsuro MATSUOKA <tmacchant>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by tmacchant (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-12-19 rik5 StatusNone Fixed
        Open/ClosedOpen Closed
    2011-11-30 rik5 Dependencies- Depends on bugs #33863

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code