[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #48364] __run-test_suite_ FAIL for axis.m (tol
From: |
Philip Nienhuis |
Subject: |
[Octave-bug-tracker] [bug #48364] __run-test_suite_ FAIL for axis.m (tolerance) |
Date: |
Thu, 7 Jul 2016 21:49:30 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40 |
Follow-up Comment #6, bug #48364 (project octave):
Just FTR I tried "test axis"before and after calling a Java function:
>> printf ("fpucw = 0x%04x\n", fpucw ());
fpucw = 0x027f
>> test axis
***** test
hf = figure ("visible", "off");
unwind_protect
a = logspace (-5, 1, 10);
loglog (a, -a);
axis tight;
assert (axis (), [1e-5, 10, -10, -1e-5]);
unwind_protect_cleanup
close (hf);
end_unwind_protect
!!!!! test failed
ASSERT errors for: assert (axis (),[1e-5, 10, -10, -1e-5])
Location | Observed | Expected | Reason
(1) 1e-005 1e-005 Abs err 5.0822e-021 exceeds tol 0
(4) -1e-005 -1e-005 Abs err 5.0822e-021 exceeds tol 0
>> printf ("fpucw = 0x%04x\n", fpucw ());
fpucw = 0x027f
>> javaclasspath
STATIC JAVA PATH
- empty -
DYNAMIC JAVA PATH
- empty -
>> printf ("fpucw = 0x%04x\n", fpucw ());
fpucw = 0x037f
>> test axis
***** test
hf = figure ("visible", "off");
unwind_protect
a = logspace (-5, 1, 10);
loglog (a, -a);
axis tight;
assert (axis (), [1e-5, 10, -10, -1e-5]);
unwind_protect_cleanup
close (hf);
end_unwind_protect
!!!!! test failed
ASSERT errors for: assert (axis (),[1e-5, 10, -10, -1e-5])
Location | Observed | Expected | Reason
(1) 1e-005 1e-005 Abs err 5.0822e-021 exceeds tol 0
(4) -1e-005 -1e-005 Abs err 5.0822e-021 exceeds tol 0
>> printf ("fpucw = 0x%04x\n", fpucw ());
fpucw = 0x037f
>>
so am I right to surmise that the FPU control word seems to make little
difference?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?48364>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/