[Top][All Lists]

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

[Octave-bug-tracker] [bug #49036] realpow: produced complex result

From: Guillaume
Subject: [Octave-bug-tracker] [bug #49036] realpow: produced complex result
Date: Fri, 9 Sep 2016 09:21:22 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0


                 Summary: realpow: produced complex result
                 Project: GNU Octave
            Submitted by: gyom
            Submitted on: Fri 09 Sep 2016 09:21:20 AM GMT
                Category: Test Suite
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: Guillaume
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux



Running "make check" on latest dev version, there is a failed test with

octave:1> test realpow
***** assert (realpow (1i,2), -1)
!!!!! test failed
realpow: produced complex result
octave:2> realpow (1i,2)
error: realpow: produced complex result
error: called from
    realpow at line 36 column 5
octave:9> 1i.^2
ans = -1.0000e+00 + 1.2246e-16i

It works as expected in the packaged version from the distribution (Octave
4.0.3 on OpenSUSE 13.2).


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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