[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #34942] Test fail in quadl (MinGW)
From: |
Tatsuro MATSUOKA |
Subject: |
[Octave-bug-tracker] [bug #34942] Test fail in quadl (MinGW) |
Date: |
Wed, 30 Nov 2011 04:40:31 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.121 Safari/535.2 |
URL:
<http://savannah.gnu.org/bugs/?34942>
Summary: Test fail in quadl (MinGW)
Project: GNU Octave
Submitted by: tmacchant
Submitted on: 2011年11月30日 04時40分30秒
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Inaccurate Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Microsoft Windows
_______________________________________________________
Details:
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'.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?34942>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #34942] Test fail in quadl (MinGW),
Tatsuro MATSUOKA <=