[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #43349] asin() behaves differently from Matlab
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #43349] asin() behaves differently from Matlab for arguments larger than 1 |
Date: |
Thu, 09 Oct 2014 02:42:00 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.0 |
Follow-up Comment #25, bug #43349 (project octave):
Again? Ugh.
I think my patch https://savannah.gnu.org/support/download.php?file_id=32234
is the right thing to do. If the imaginary part of x is -0, then x*x will
have +0 as the imaginary part, and that looks like a real number, so 1-x*x
should not generate a negative imaginary part. Likewise if x has +0 as the
imaginary part, it looks like a real number, so x*x should be real, so 1-x*x
should not have a negative imaginary part. Does that make sense? In any case
and FWIW, I think it is compatible with Matlab.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?43349>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- Re: [Octave-bug-tracker] [bug #43349] asin() behaves differently from Matlab for arguments larger than 1, (continued)
- Re: [Octave-bug-tracker] [bug #43349] asin() behaves differently from Matlab for arguments larger than 1, Doug Stewart, 2014/10/06
- [Octave-bug-tracker] [bug #43349] asin() behaves differently from Matlab for arguments larger than 1, John W. Eaton, 2014/10/06
- [Octave-bug-tracker] [bug #43349] asin() behaves differently from Matlab for arguments larger than 1, Rik, 2014/10/07
- [Octave-bug-tracker] [bug #43349] asin() behaves differently from Matlab for arguments larger than 1, Rik, 2014/10/07
- [Octave-bug-tracker] [bug #43349] asin() behaves differently from Matlab for arguments larger than 1, John W. Eaton, 2014/10/07
- [Octave-bug-tracker] [bug #43349] asin() behaves differently from Matlab for arguments larger than 1, Rik, 2014/10/07
- [Octave-bug-tracker] [bug #43349] asin() behaves differently from Matlab for arguments larger than 1, John W. Eaton, 2014/10/08
- [Octave-bug-tracker] [bug #43349] asin() behaves differently from Matlab for arguments larger than 1, Rik, 2014/10/08
- [Octave-bug-tracker] [bug #43349] asin() behaves differently from Matlab for arguments larger than 1, John W. Eaton, 2014/10/08
- [Octave-bug-tracker] [bug #43349] asin() behaves differently from Matlab for arguments larger than 1, John W. Eaton, 2014/10/08
- [Octave-bug-tracker] [bug #43349] asin() behaves differently from Matlab for arguments larger than 1,
John W. Eaton <=
- [Octave-bug-tracker] [bug #43349] asin() behaves differently from Matlab for arguments larger than 1, Rik, 2014/10/08
- [Octave-bug-tracker] [bug #43349] asin() behaves differently from Matlab for arguments larger than 1, Michael Godfrey, 2014/10/09
- [Octave-bug-tracker] [bug #43349] asin() behaves differently from Matlab for arguments larger than 1, Rik, 2014/10/09
- [Octave-bug-tracker] [bug #43349] asin() behaves differently from Matlab for arguments larger than 1, Ricardo Biloti, 2014/10/10