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

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

[Octave-bug-tracker] [bug #29983] Odd behavior of expint with complex ar


From: anonymous
Subject: [Octave-bug-tracker] [bug #29983] Odd behavior of expint with complex argument
Date: Fri, 28 May 2010 21:19:48 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3

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

                 Summary: Odd behavior of expint with complex argument
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Fri 28 May 2010 09:19:47 PM UTC
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: GA
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.2.4
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

When I call expint with real argument it works fine. However when I call it
with complex arguments, the first and second time it gives error messages. 
The third time it gives the correct answer. Is this a known bug?
The calls and the responses from OCTAVE 3.2.4 are listed below.
---------------------------------------------------
octave:3> expint(4)
ans =  0.0037794
octave:4> expint(1+j*4)
error: The argument must be real.
error: feval: function `print_usage' not found
error: called from:
error:  
C:\Octave\3.2.4_gcc-4.4.0\share\octave\packages\specfun-1.0.8\expint.m at line
30, column 4
octave:5> expint(1+j*4)
error: The argument must be real.
error: feval: function `print_usage' not found
error: called from:
error:  
C:\Octave\3.2.4_gcc-4.4.0\share\octave\packages\specfun-1.0.8\expint_E1.m at
line 31, column 32
error:  
C:\Octave\3.2.4_gcc-4.4.0\share\octave\packages\specfun-1.0.8\expint.m at line
30, column 4
octave:6> expint(1+j*4)
ans =  0.033736 + 0.073523i
---------------------------------




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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