bugGNU Octave - Bugs: bug #32036, fntests errors on data.cc on MinGW

 
 

bug #32036: fntests errors on data.cc on MinGW

Submitted by:  Tatsuro MATSUOKA <tmacchant>
Submitted on:  Mon 03 Jan 2011 08:33:56 AM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Fri 03 Jan 2014 12:35:24 AM UTC, comment #7:

The two tests involving log2 work for me as well with version 3.8.0 cross-built with MXE and running on Windows XP.

Rik <rik5>
Project Administrator
Thu 02 Jan 2014 10:01:05 PM UTC, comment #6:

These tests appear to work correctly for me with 3.8.0 on a Windows 7 system. Can anyone else confirm? If so, please close this report as I think the problem is fixed.

John W. Eaton <jwe>
Project Administrator
Sun 03 Nov 2013 12:12:41 PM UTC, comment #5:

Still present on 3.7.7+ MXE-cross-built.

I'll detail the data.cc, syscalls.cc and quadgk.m errors later (no time now).

Philip Nienhuis <philipnienhuis>
Project Member
Fri 01 Nov 2013 01:03:34 PM UTC, comment #4:

I can confirm that this still fails for a 3.7.6 MXE build on WinXP

Andreas Weber <andy1978>
Project Member
Mon 21 Feb 2011 07:34:31 AM UTC, comment #3:

These have been known from version 3.0. One of them have been solved. But two remained differences have not been solved.
Perhaps special treatments around NAN should be required to solve these problems.

Tatsuro MATSUOKA <tmacchant>
Mon 21 Feb 2011 02:09:45 AM UTC, comment #2:

Can this issue be closed? Does the new 3.4.0 release, when compiled with '--enable-float-truncate', still have fntest errors?

Rik <rik5>
Project Administrator
Sun 09 Jan 2011 09:35:34 PM UTC, comment #1:

After re-configured with '--enable-float-truncate' ??, the last error

#**************
[v, i] = sort ([NaN, 1i, -1, Inf, 1, 1i]);
assert (v, [1, 1i, 1i, -1, Inf, NaN])
assert (i, [5, 2, 6, 3, 4, 1])
!!!!! test failed
assert (i,[5, 2, 6, 3, 4, 1]) expected
5 2 6 3 4 1
but got
5 6 2 3 4 1
<snip>
#**************

was disappeared.

Tatsuro MATSUOKA <tmacchant>
Mon 03 Jan 2011 08:33:56 AM UTC, original submission:

The errors on in the fntests on data.cc have been reported and discussed by Benjamin.

I could not find it from the ML archives.
In order not to forget this, I have reported here.

***** test
[f, e] = log2 ([0,-1; 2,-4; Inf,-Inf]);
assert (f, [0,-0.5; 0.5,-0.5; Inf,-Inf]);
assert (e(1:2,:), [0,1;2,3])
!!!!! test failed
assert (f,[0, -0.5; 0.5, -0.5; Inf, -Inf]) expected
0.00000 -0.50000
0.50000 -0.50000
Inf -Inf
but got
0.00000 -0.50000
0.50000 -0.50000
NaN NaN
NaNs don't match
***** test
[f, e] = log2 (complex (zeros (3, 2), [0,-1; 2,-4; Inf,-Inf]));
assert (f, complex (zeros (3, 2), [0,-0.5; 0.5,-0.5; Inf,-Inf]));
assert (e(1:2,:), [0,1; 2,3]);
!!!!! test failed
assert (f,complex (zeros (3, 2), [0, -0.5; 0.5, -0.5; Inf, -Inf])) expected
0.00000 + 0.00000i 0.00000 - 0.50000i
0.00000 + 0.50000i 0.00000 - 0.50000i
0.00000 + Infi 0.00000 - Infi
but got
0.00000 + 0.00000i 0.00000 - 0.50000i
0.00000 + 0.50000i 0.00000 - 0.50000i
NaN - NaNi NaN - NaNi
NaNs don't match
***** test
[v, i] = sort ([NaN, 1i, -1, Inf, 1, 1i]);
assert (v, [1, 1i, 1i, -1, Inf, NaN])
assert (i, [5, 2, 6, 3, 4, 1])
!!!!! test failed
assert (i,[5, 2, 6, 3, 4, 1]) expected
5 2 6 3 4 1
but got
5 6 2 3 4 1
values do not match
shared variables {
m2 =

1 2
3 4

flo = 0
fhi = Inf
}

Tatsuro MATSUOKA <tmacchant>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 03 Jan 2014 03:25:50 PM UTCjweStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Sun 03 Nov 2013 12:12:41 PM UTCphilipnienhuisStatusNeed Info=>Confirmed
    Mon 21 Feb 2011 02:09:45 AM UTCrik5StatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1