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

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

[Octave-bug-tracker] [bug #43349] asin behaves differently from Matlab f


From: Ricardo Biloti
Subject: [Octave-bug-tracker] [bug #43349] asin behaves differently from Matlab for arguments larger than 1
Date: Thu, 02 Oct 2014 14:31:49 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0

URL:
  <http://savannah.gnu.org/bugs/?43349>

                 Summary: asin behaves differently from Matlab for arguments
larger than 1
                 Project: GNU Octave
            Submitted by: biloti
            Submitted on: Qui 02 Out 2014 11:31:48 BRT
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: Ricardo Biloti
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.1
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Let x be a real value greater than 1 (x > 1). Then Matlab reports that

asin (x) = pi/2 - a*i, for some a > 0

However Octave produces the complex conjugate

asin (x) = pi/2 + a*i

This occurs only for real x > 1. Both Matlab and Octave agree for real x <=1.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43349>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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