[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53452] Max and Min function producing same re
From: |
Dildar Sk |
Subject: |
[Octave-bug-tracker] [bug #53452] Max and Min function producing same result.Should follow a convention. |
Date: |
Sat, 24 Mar 2018 07:44:27 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?53452>
Summary: Max and Min function producing same result.Should
follow a convention.
Project: GNU Octave
Submitted by: hodor123456
Submitted on: Sat 24 Mar 2018 11:44:26 AM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: None
Assigned to: None
Originator Name: Dildar Sk
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
In MATLAB,
>> max(5,5i)
ans =
0.0000 + 5.0000i
>> min(5,5i)
ans =
5
In GNU Octave,
>> max(5,5i)
ans = 5
>> min(5,5i)
ans = 5
So,in Octave how is possible! It producing same result.
There were some debate about comparison of complex values.
I think to keep MATLAB compatibility it should follow MATLAB
rule.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53452>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #53452] Max and Min function producing same result.Should follow a convention.,
Dildar Sk <=