octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #57476] Numerical inaccuracy in range object


From: Luis Mendo
Subject: [Octave-bug-tracker] [bug #57476] Numerical inaccuracy in range object
Date: Wed, 25 Dec 2019 07:10:59 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36

URL:
  <https://savannah.gnu.org/bugs/?57476>

                 Summary: Numerical inaccuracy in range object
                 Project: GNU Octave
            Submitted by: lmendo
            Submitted on: mié 25 dic 2019 12:10:57 UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Inaccurate Result
                  Status: None
             Assigned to: None
         Originator Name: Luis Mendo
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 5.1.0
        Operating System: Any

    _______________________________________________________

Details:

There seems to be some numerical accuracy issues with `range` objects.


x = 1:4; % typeinfo gives "range"
y = x.'.'; % typeinfo gives "matrix"
x==y % gives all true, as expected
1j.^x % gives INACCURATE result. Error is of the order of eps
1j.^y % gives the expected result


Tested in Octave 5.1 on Linux, and in Octave 4.2 on Linux and on Windows





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57476>

_______________________________________________
  Mensaje enviado vía Savannah
  https://savannah.gnu.org/




reply via email to

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