bugGNU Octave - Bugs: bug #47964, rats test failure on Debian i386

 
 

bug #47964: rats test failure on Debian i386

Submitted by:  Mike Miller <mtmiller>
Submitted on:  Thu 19 May 2016 05:58:41 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 19 May 2016 10:49:36 PM UTC, comment #2:

Fixed on the default branch with this change:

http://hg.savannah.gnu.org/hgweb/octave/rev/61f3575250e4

Mike Miller <mtmiller>
Project Administrator
Thu 19 May 2016 10:17:03 PM UTC, comment #1:

The following condition at line 392 of the rational_approx function is failing the first time through the loop, so the returned string is "0":

where the value frac is exactly equal to 1.0/2147483647.

http://hg.savannah.gnu.org/hgweb/octave/file/@/libinterp/corefcn/pr-output.cc#l391

My i386 build is also done with -O0, if that makes a difference here.

Mike Miller <mtmiller>
Project Administrator
Thu 19 May 2016 05:58:41 PM UTC, original submission:

I see a new test failure (meaning the same test doesn't fail on the stable branch) in pr-output.cc:

The underlying cause seems to be this difference between 4.0.2 and the default branch (both on Debian unstable i386):

vs

Any thoughts on where this difference came in on the default branch? I remember some discussion about intmax being off by one, that's all I can think of at the moment.

Mike Miller <mtmiller>
Project Administrator

 

(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 mtmiller (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 19 May 2016 10:49:36 PM UTCmtmillerStatusNeed Info=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1