bugGNU Octave - Bugs: bug #40683, Unequal results when using...

 
 

bug #40683: Unequal results when using element-wise and broadcast power operations

Submitted by:  jose <josombio>
Submitted on:  Sat 23 Nov 2013 10:19:18 AM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Inaccurate Result
Status: FixedAssigned to: None
Originator Name: JoséOpen/Closed: Closed
Release: 3.6.4Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 16 Nov 2016 11:25:50 PM UTC, comment #3:

This appears to be fixed in Octave 4.2.0 which is the currently supported release now.

Mike Miller <mtmiller>
Project Administrator
Sat 06 Dec 2014 03:40:57 PM UTC, comment #2:

An easier way to reproduce it

In octave 3.8.2 (in Kubuntu), the last columns of T are

jose <josombio>
Sat 23 Nov 2013 05:09:45 PM UTC, comment #1:

Confirmed on the development version as well. Failure occurs on an x86-64 build but not on a 32-bit x86 build. When I responded on the ML I was only checking on a 32-bit system at the time.

Mike Miller <mtmiller>
Project Administrator
Sat 23 Nov 2013 10:19:18 AM UTC, original submission:

In order to reproduce this bug, one can do the following:

This seems to occur (at least) with powers different than 2.

Although I marked the 3.6.4 release as the one being affected, this seems to affect also other previous releases. In octave 3.6.2 the results are slightly different, being

Additionally, this bug seems to be somehow machine (or architecture) dependent, as Mike has reported that the previous code works for him in the 3.6.4 and development versions.
I have tested in 3 different machines, two 64-bit and one 32-bits. The tests in the 32-bit machine passed cleanly, but I used somehow old octave releases (3.2.4 and 3.4.3).

jose <josombio>

 

(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 (Posted a comment)
  • -unavailable- added by josombio (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 16 Nov 2016 11:25:50 PM UTCmtmillerStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Sat 23 Nov 2013 05:09:45 PM UTCmtmillerStatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1