octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #33863] Two test fails in quadl.m (dev. source


From: Marco Caliari
Subject: [Octave-bug-tracker] [bug #33863] Two test fails in quadl.m (dev. source MinGW)
Date: Mon, 01 Aug 2011 14:28:45 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13

Follow-up Comment #2, bug #33863 (project octave):

Dear Tatsuro,

regarding the first failure, do you know that quadl uses a default *relative*
tolerance equal to eps? Then,


abs(quadl(@(x) sin(3*x).*cosh(x).*sinh(x),10,15)-exact)/exact
ans =  8.40038953790526e-15


which is not eps, but still quite good (and less than 9e-15). About the value
of exact, it seems that the value provided in the test is wrong in the last
digit: in fact, I also get


exact = 2.588424538641647e+10;
abs(quadl(@(x) sin(3*x).*cosh(x).*sinh(x),10,15)-exact)/exact
ans =  1.04636431086188e-14


but if I use the *exact* value


exact = 25884245386.416416168212890625


everything is fine. Regarding the second failure, I will say something in
#33792.

Marco

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?33863>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]